Questions tagged [bugs]

This tag is reserved for questions where the problem has been vetted by this community and the observed behavior is confirmed to be a bug. Please do not use this tag for new questions. Please use the standard bugs header instead of version tags in conjunction with this tag.

Filter by
Sorted by
Tagged with
2
votes
0answers
83 views

Is Mathematica computing the conditional expectation correctly?

Given a simple case of say 2 independent trials each with probability of success 1/3. Consider a random variable that is gives the 3 times the total successes. We can define this random variable in ...
4
votes
2answers
62 views

GeoListPlot - Workaround for distinct coloring of categories - improvement?

GeoListPlot supports multiple lists of locations but once the number of lists exceeds 3, the coloring function for the categories starts to recycle the colors. For example, adding a list to the ...
7
votes
1answer
78 views

Module vs. DynamicModule wrt ProgressIndicator

Why does the following work for Module but not DynamicModule? ...
5
votes
1answer
52 views

Weirdness with Interpolation of data and InverseFunction

Bug introduced in 8 or earlier and persisting through 12.0 Something strange is happening with this list of data: ...
6
votes
3answers
391 views

Numerical minimum of a one-valued function

Bug introduced in 12.0 My problem is that the Kernel cannot finish computation and eats up memory when a simple constraint like 0 <= x <= 2 is specified in <...
3
votes
0answers
85 views

White triangles in ListContourPlot

I'm using ListContourPlot with InterpolationOrder -> 0 to plot some data and end up with some seemingly random white ...
9
votes
1answer
277 views

Why ArcTan[1, 0. I ] yields -1.5708+0. I?

Bug introduced in 5.2 or earlier and persisting through 12.0.0 Why ArcTan[1, 0. I ] yields -1.5708+0. I ? The result should ...
8
votes
0answers
53 views

Probable bug in EdgeAdd when adding edges to multigraphs

Bug introduced in 10.0 or earlier and persisting through 12.0 M10.0.2 and M10.3 return a wrong result without errors. M11.0 and M12.0 issue a flood of messages and sometimes crash. I am using ...
9
votes
2answers
128 views

FindMaximum returns a solution that violates the constraints

I am looking at the following optimization problem $$ \begin{align*} \max\ & 1000 r_1 + \frac{1}{2}r_2 + \frac{1}{3}r_3\\ \text{s.t. }& 1000^2 r_1 + \frac{1}{4}r_2 + \frac{1}{9}r_3 = \frac{1}{...
6
votes
1answer
72 views

DensityHistogram, “Log” plot with specific binning not working in Mathematica12

I have a problem plotting log with specific binning using the DensityHistogram. The following worked till Mathematica 11 but not anymore with Mathematica 12: ...
7
votes
2answers
85 views

Fullsimplify output depends on variable order

Bug introduced in 5.2 or earlier and persisting through 12.0 or later Mathematica 11.3.0.0 (used on a Mac) seems to give different results when using FullSimplify. ...
10
votes
3answers
160 views

Confirmed Bug: Why does Eliminate fail while Solve succeeds?

OP EDIT: Wolfram Technical Support got back to me and confirmed this is a bug. But the Answers below provided good workarounds. I have two polynomials respectively in {z,c} and in {r,z,c}. I'd like ...
11
votes
1answer
152 views

How to set FenceWidth in logarithmic plot?

Mathematica 12 introduced a built-in support for logarithmic plots with error bars. A plot with default styling looks as expected: ...
2
votes
0answers
67 views

FindClusters giving complete wrong groups from very simple array

Bug introduced in 8.0.4 or earlier and later fixed in 11.3 or earlier. I've been trying to use FindClusters function in Mathematica and it wasn't working well when ...
2
votes
1answer
83 views

Syntax highlighting indicates I'm unable to comment properly in Mathematica using (**)

I wanted to "comment" some code so the input inside (* *) is ignored. I tried this but the last term z[3] looks like it is not ...
8
votes
0answers
220 views

DEigenvalues and NDEigenvalues return different values

In the following example, DEigenvalues and NDEigenvalues return different results despite having identical arguments. Does anyone know why? (I use Mathematica 11.3) ...
2
votes
1answer
109 views

Does ListPlot Joined Dotted crash front end reproducibly for large number of points?

The problem The following code crashes Mathematica 12 for Windows 64 front-end reproducibly in my computer (Win7 Pro, i7-4770 3.4GHz 16Gb RAM). ...
10
votes
1answer
78 views

WVM hangs or crashes on empty array when compiled Listable

Bug introduced in 12.0 and persisting through 12.0 or later When I run the following code, the kernel hangs indefinitely: ...
6
votes
0answers
99 views

Problem with my user name

I'm trying to use the new website ("Wolfram Function Repository") and i get the following error: ...
7
votes
1answer
129 views

NetTrain Freezes Computer

I have a neural network I am trying to train: ...
3
votes
1answer
122 views

Mathematica cannot compile complex-valued interpolated PDE coefficients? (NDSolve, Finite Elements)

Bug introduced in 11.1 or earlier, fixed in 11.3 or earlier. The following PDE pde = I Cos[x y] D[u[x, y], x] + Laplacian[u[x, y], {x, y}] == 0; Is happily ...
22
votes
1answer
219 views

Possible Memory Leak Issues in NestWhile

Consider the following code snippet: NestWhile[{#[[1]]+1,Pause@.001;ConstantArray[0,{100, 100}]}&, {1}, (#[[1]] <= 10000) &, 2] In theory, when ...
4
votes
1answer
93 views

Triggering WhenEvent as a result of WhenEvent

I'm attempting to solve a dead-simple differential equation with events: ...
4
votes
0answers
65 views

Why does Shortest not work inside SequencePosition?

Why does Shortest not work in a SequencePosition call? The following two commands return the same answer: ...
5
votes
1answer
65 views

Why is a Boolean output not given as True/False by SystemModelSimulate?

Bug introduced in 11.3 and persisting through 12.0 A support case with the identification [CASE:4268618] was created. I am a bit surprised that I am not getting a boolean output for the following ...
10
votes
0answers
211 views

Mathematica 12 crashes upon taking the Log of a double series

I recently upgraded from Mathematica 10.4 to 12.0. Unfortunately, I am now experiencing crashes with code that was stable in 10.4. The code involves extensive manipulation of the Series function ...
3
votes
1answer
120 views

Vector ParametricNDSolve and FindRoot interaction

This question came out of this question. I have a set of differential equations, written in vector form. I'm only interested in the value of these at the endpoint, and so I use ...
1
vote
0answers
60 views

Import JPG picture missing XMP / EXIF metadata tags

I used Google Picasa to tag a face in a JPG photo, which is stored as an XMP metadata tag within the photo itself: Here is a link to the photo. If that URL has expired, you can download the pic as a ...
2
votes
1answer
67 views

Series keeps unwanted terms

This expression doesn't simplify properly. I have this series. In[33]:= temp2[[8]] Out[33]= SeriesData[s, 0, { t[2] t[4], 0, Rational[3, 2] x[1] x[4]}, 0, 3, 1] ...
5
votes
1answer
48 views

RandomPoint returns compiler errors on RegionIntersection of two Meshs?

Consider the intersection of two ConvexHullMesh's, m1 and m2. ...
2
votes
1answer
82 views

Unstable symbolic expectation of gaussian distribution on absolute values?

Context I use mathematica 11.3 and 12. 11.3.0 for Mac OS X x86 (64-bit) (March 7, 2018) 12.0.0 for Mac OS X x86 (64-bit) (April 7, 2019) I am interested in evaluating the following integral ...
4
votes
1answer
211 views

Inconsistent simple simulation outcomes?

Bug introduced in 10.4 or earlier and persisting through 12.0.0 or later Two simple kinds of simulating the one-sided exact Fisher-test of obtaining at least 86 successes in 129 draws in a ...
35
votes
2answers
828 views

Eigenvalues broken in Version 12.0

Bug introduced in 12.0. The following code calculates the eigenvalues of a certain complex matrix, which come in pairs of opposite complex numbers. Therefore one can check whether the sum of all ...
1
vote
1answer
45 views

Difficulty Displaying an Untransformed and Transformed Graphics3D Object with Show

I would like to illustrate a sequence of translations and rotations relative to the initial coordinate system simultaneously with multiple views using Manipulate. I discovered that there are some ...
0
votes
0answers
54 views

How to handle the instability of the integral evaluation in the following case?

I want to integrate a function \[Kappa][gh, ms, ts, th, ph] (for all definitions, see a code below) with the distribution ...
20
votes
2answers
2k views

Wrong answer from DSolve when solving a differential equation

Bug introduced in 12.0.0 I was trying to solve the following differential equation: $$\frac{dy}{dx}=x^2+y^2-1 \quad \text{and} \quad y(0)=1$$ and I used the code below: ...
2
votes
1answer
51 views

How do I make InverseBetaRegularized function behave the same in Mathematica 11.3 compared to 11.2?

In Mathematica 11.3: InverseBetaRegularized[0.001, 4501, 500] Never finishes calculating. ...
2
votes
1answer
78 views

Flickering dashed circle in rotated Manipulate

Bug introduced in 12.0 or earlier and persisting through 12.0.0 or later I'm drawing some objects (lines, circles etc) in a Manipulate. I am rotating the ...
10
votes
0answers
268 views

Possible bug in ListDensityPlot in Mathematica12

Bug introduced in 12.0.0 I'm having some problems with ListDensityPlot in Mathematica 12 on MacOS Mojave. Here is the code: ...
7
votes
3answers
79 views

DateHistogram FrameLabel overlaps FrameTicks

Bug introduced in 11.3 or earlier and persisting through 12.0.0 ...
1
vote
0answers
59 views

Flaky pattern-matching for Mittag-Leffler sums?

This sum correctly gives the Mittag-Leffler function: Sum[z^k/Gamma[α*k + α], {k, 0, ∞}] MittagLefflerE[α, α, z] Simply factoring the argument of ...
7
votes
0answers
227 views

EMF Export Bug in v12

Bug introduced in 12.0 or earlier For some reason EMF vector image export deteriorates with every version. In v12.0 for Windows create a simple BarChart: ...
2
votes
2answers
152 views

Poor/Incorrect handling of derivatives of DiracDelta functions in Mathematica

Bug introduced in 12.0 or earlier Integration of $\int_{-\infty}^{\infty} e^{-2|x|}\delta''(x) dx = 2 \int_{-\infty}^{\infty} e^{-2|x|}\frac{\delta(x)}{x^2} dx \rightarrow$ Divergent! Now in ...
6
votes
0answers
110 views

Where is 1/0 coming from in this call to DSolve?

Bug introduced in 11.3 or earlier and persisting through 12.0 Report to WRI [CASE:4246236] This is using 11.3 on windows 10. This is a pde from Handbook of first order partial differential ...
2
votes
0answers
41 views

Bug with TeXForm conversion of superscript in strings [duplicate]

Bug introduced in 10.0 or earlier and persisting through 11.3 Consider a String expression with a TemplateBox superscript: ...
3
votes
1answer
47 views

PatternTest vs Parallelization

Bug introduced in 10.0 or earlier and fixed in 11.2 Consider the following function ...
6
votes
1answer
119 views

RegionPlot3D no longer localizes its arguments?

Bug introduced after 9, fixed in 12.0. Just now, I was astonished to find the behavior of RegionPlot3D changes somewhere after v9 . Consider the following sample: ...
6
votes
0answers
140 views

Possible Compile bug

Bug introduced in 11.3 or earlier The program: ...
4
votes
1answer
78 views

FITS files are importing with different values depending on version

Bug introduced in 11.3 I recently updated to 11.3 and found that my FITS files don't import the same way anymore. I've read a posts about the changes made to FITS imports and can deal with that fine ...
3
votes
1answer
74 views

How to trace value assigned to local variable(variables in Module)?

Bug introduced in v10.1 or earlier and persists through v11.3 CASE:4240757 Here is my code: ...