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.

learn more… | top users | synonyms (1)

2
votes
1answer
58 views

FunctionInterpolation error when specifying AccuracyGoal

In the help page ref/message/FunctionInterpolation/ncvb, it is mentioned that one should specify AccuracyGoal for some (even ...
6
votes
1answer
99 views

Why am I getting wildly incorrect results from FirstPassageTimeDistribution with inexact transition matrix?

Working on some large systems using DiscreteMarkovProcess, I changed the transition matrix to machine precision vs using exact values, which sped things up handily. ...
8
votes
1answer
236 views

Why is this infinite series wrongly computed by Mathematica?

Could you let me know if Mathematica (newer versions) is able to correctly compute this one? Sum[(-1)^(n + 1) Cos[3^n x]^3/3^n, {n, 1, Infinity}]
7
votes
0answers
154 views

TableView displays negative numbers incorrectly

I'm trying to substitute TableForm with TableView because TableView is more handy with big data . But on my Mathematica 9.0.1 (ubuntu 14.04_64bit) there is a problem with negative numbers: ...
20
votes
3answers
362 views

Negative probability?

Bug introduced in 9.0.1 and fixed in 10.0.2 I am trying to get the sum of the squares of seven random variables, all uniformly distributed. This is what I tried. ...
10
votes
3answers
324 views

Correct way to integrate a certain function

I want to integrate $$ \int_{0}^{2\pi} dt_1 \frac{a + b*\cos(t_1 - t_2)}{c + d*\cos(t_1 - t_2)} $$ where $a, b, c, d, t_2$ are real numbers and $c + d > 0$ & $0 \leq t_2 \leq 2\pi$. I used ...
8
votes
1answer
142 views

Strange behavior of BinCounts

Bug introduced in 8.0 and fixed in 10.0.0 Just try this example: ...
5
votes
2answers
117 views

What is the syntax to conditionally suppress plotting in version 9?

In Mathematica 7 it is very easy to conditionally suppress plotting of individual lines using If: ...
7
votes
2answers
170 views

Why does StreamColorFunctionScaling refuse to turn off?

Consider this simple streamline plot: StreamPlot[{-y/10, x/10}, {x, -1, 1}, {y, -1, 1}, StreamColorFunction -> Function[{x, y, u, v}, Hue[v]]] The ...
5
votes
0answers
144 views

How to fix a PDF line rendering problem in V9

If I run this in V8 ...
8
votes
2answers
715 views

Is Mathematica really getting this limit wrong?

I'm trying to calculate: $$ \lim_{\beta \to \infty} \tanh \left( \beta A \right) = \mathrm{sgn} \left( A \right) $$ for $A \in \mathbb{R}$, $\mathrm{sgn} \left( \# \right)$ being the sign function. ...
9
votes
0answers
231 views

Strange filling

I observed some strange behaviour when plotting a function with filling. The code is as follows: ...
5
votes
2answers
124 views

Checkbox behaving weird when variables are local

I have a DynamicModule in which I need a checkbox with a Max in the dynamic part: ...
5
votes
2answers
218 views

CurrentImage[] “unable to connect to camera”?

I have a new Macbook Pro (Retina), running Mavericks. For some reason I cannot access the camera in Mathematica using CurrentImage[] or ImageCapture[]. The result is: ...
6
votes
3answers
344 views

How to use PlotRange -> All with ListLogLinearPlot?

I would like to generate a ListLogLinearPlot that automatically shows all the data points. However the option ...
4
votes
1answer
125 views

Example from Mathematica documentation (ExtremeValueDistribution) seems to be evualting “forever”

I am referring to this example at the reference page for the extreme value distribution: http://reference.wolfram.com/mathematica/ref/ExtremeValueDistribution.html#6764486 The first three commands ...
14
votes
1answer
256 views

Mathematica 9 cannot solve a difference equation that Mathematica 8 can

Consider RSolve[{a[n + 1] == 2 a[n] + n (1 + 2^n), a[1] == 1}, a[n], n] Mathematica 8 can solve this quickly, but Mathematica 9, even after being allowed to run ...
4
votes
2answers
152 views

TreePlot, VertexRenderingFunction and stretched vertices issue

Recently I found the following TreePlot issue. For simplicity, I took an example from Mathematica Tree Drawing Tutorial and set ...
4
votes
1answer
91 views

Does the VerticalCallout algorithm in PieChart3D work correctly?

In real world usage you often want to use real world labels with long strings (say 15-20 characters) in 3D pie charts. Here is a toy example : ...
5
votes
1answer
162 views

Why does Arrow not work well with Scaled coordinates in 3D?

I am a little puzzled by the fact that if I try to use Arrow with Scaled coordinates in 3 dimensions the arrowheads are all over ...
11
votes
1answer
256 views

Bizarre behavior of With, Compile and Break

I'm guessing this is almost certainly a bug in Compile (because they're fairly common), but it's pretty weird and I spent about an hour tracking down the issue and ...
2
votes
2answers
142 views

Getting messages Rest::norest and Divide::indet from ContourPlot3D

Note: The bug described in this post is found in Mathematica version 9 and seems to have been fixed in version 10. Ok I don't know if it's a bug or what, but here's what I found: If I use this ...
3
votes
0answers
88 views

Derivative of generating function (Example from documentation)

In the documentation for GeneratingFunction, the following example is given under Examples -> Properties & Relations -> Derivative: ...
6
votes
2answers
342 views
1
vote
1answer
244 views

Display a labeled multigraph

Despite the integration of graphs and networks, multigraphs are not supported in Mathematica 8+. In Mathematica 9+, GraphPlot misbehaves for multigraphs having ...
4
votes
1answer
112 views

DateList does not output the correct time, but Date does

I noticed a strange thing when trying the new astronomical data functions in Mathematica 10 on my Raspberry Pi. The Sunrise and ...
7
votes
1answer
416 views

Why won't my function plot?

If I define ...
11
votes
2answers
200 views

Bug with SparseArray selector in Pick

I have created a notebook with two cells. This is the content of the first: ...
5
votes
1answer
102 views

FlipView can't handle CurrentValue[“MouseOver”]. Kernel crash

Is this code crashing your Mathematica session? (it can so look out :P) ...
1
vote
0answers
70 views

Mathematica exit when calling plot. Bug?

I'm currently studing the behaviour of some integral for which I cant find an analytic solution. As this function depend on a vector on the unit sphere, I first defined it with 3 parameters before ...
2
votes
0answers
73 views

Front End - Bug in Edit->Find?

As a beginner I make notes in my notebooks on what I am learning as I go along, and I have also referenced the help files by pasting hyperlinks from them - this seems to break the Find function. Is ...
0
votes
0answers
82 views

My plot is cut off if a frametick is “0” but resized if a frametick is “0.” Why?

I have been trying to customize the frame ticks and frame label around a certain contour plot and am running into very strange behavior where the graphics will get cut off by ...
4
votes
1answer
149 views

Why does one of my Manipulate integer variables get turned into a real?

I'm developing code for manipulating graphs. Spot the difference in the 2 Manipulates below: ...
4
votes
1answer
61 views
0
votes
0answers
46 views

Addition of sparse array objects [duplicate]

I have been having some trouble with the addition of large (but very sparse) matrices using SparseArray. Here is the simplest example to illustrate the issue. First, I will define diagonal matrices ...
7
votes
3answers
206 views

Problem with CurrentValue[“MouseOver”] when graphics are wrapped with Deploy

Please take a look at following toy example: ...
10
votes
1answer
184 views

Sporadic bugs in multidimensional SparseArray objects

Udate This SparseArray[] bug is (apparently) fixed on version 10.0 ...
4
votes
1answer
88 views

RandomSample Bug?

I was using RandomSample with very skewed weights. I am asking for a random sample of 6 numbers 1 through 100 without replacement. In the screen shown, the weights for 1 through 6 are 100 000, with ...
3
votes
1answer
81 views

Bug with LinearProgramming on Integers?

With Mathematica 7: LinearProgramming[{1, 1}, {{0, 0}, {1, 1}}, {1, 1}, Automatic, Integers] gives wrong result {0,1}. But ...
4
votes
2answers
119 views

Inconsistent results for equivalent converging symbolic integrals

I have looked at previous questions and I'm aware that this seems to be a known bug: Mathematica giving inconsistent results for symbolic integrals done in different ways. The origins for the bugs ...
20
votes
1answer
264 views

M9 performance regression for Fold?

Bug introduced in 8.0 and persisting through 10.0.2 or later I noticed an over 10x performance drop on Mathematica v9.0.1 (as Oleksandr R. commented, also v8) compared with v7.01 for this code: ...
11
votes
1answer
188 views

Unwanted PlotMarkers appear at non-existent places

In this simple code ...
12
votes
2answers
233 views

Strange behavior when using Row with packed arrays

Bug fixed in 10.0.0 Today I lost a lot of time with a strange behavior and I narrowed it down to this small piece of code: ...
4
votes
1answer
140 views

Exported animated gif with matrices will not work?

I want to export a list of matrices as a gif so that they will appear one after another 2 seconds apart. I've tried the following but when I open it up it only does the first two matrices and I have ...
2
votes
2answers
154 views

BarChart3D does not print zeros and odd tick positions

Note: This is a version 9.0.0 problem that is fixed in 9.0.1. I want to generate a simple 3D view of some frequencies for two variables. I have the counts in a 4x3 matrix, say. This is my bar chart ...
3
votes
1answer
188 views

Background in ItemStyle

I would expect the following to output the same grids ...
10
votes
1answer
235 views

Cancellation of common terms

Can someone explain why the term A in case 2 does not get canceled out when case 1 does? I use "9.0 for Microsoft Windows (64-bit) (January 25, 2013)" ...
0
votes
0answers
90 views

ParametricNDSolve: Parameter inside UnitStep leads to longer integration times

I have found one of the most annoying issues in ParametricNDSolve. When a parameters occurs inside UnitStep (and Piecewise and If) the integration takes much longer time. I illustrate this by an easy ...
8
votes
1answer
145 views

AndersonDarlingTest and DistributionFitTest Leaking Memory

I believe AndersonDarlingTest and probably all other tests are keeping a copy of data somewhere and not freeing it: ...
10
votes
3answers
1k views

help to plot Poincare section for double pendulum

I am reading a book about classical mechanics. In the chapter about chaos, it gives the simplified and scaled equations for double pendulum as $$ \frac{d}{dt}\left[ \begin{matrix} \alpha \\[3mm] ...