Skip to main content
added 56 characters in body
Source Link
ilian
  • 25.5k
  • 4
  • 117
  • 187

Bug introduced in 11.1 and fixed in 12.1


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 with 2 variables. The culprit seems to be when the logarithm of such a series is taken.

Here is an example:

Log[SeriesData[p,DirectedInfinity[1],List[SeriesData[e,0,List[1,0,Rational[-3,2]],0,3,1],0,SeriesData[e,0,List[3,0,Rational[-3,2]],0,3,1],0,SeriesData[e,0,List[Rational[9,2],0,12],0,3,1],0,SeriesData[e,0,List[Rational[27,2],0,63],0,3,1],0,SeriesData[e,0,List[Rational[405,8],0,Rational[5499,16]],0,3,1]],0,9,2]]

On Mathematica 10.4, this (rapidly) evaluates to another series in (1/p) and e, while on Mathematica 12.0, it stalls for several seconds and then crashes. Simple workarounds using "Normal" inside the Log and then taking another Series are not ideal, as I need Mathematica to track the appropriate orders automatically, rather than having to set all the orders manually.

Is this a bug, or a side effect of some new functionality? Is there a simple way to achieve the 10.4 behavior?

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 with 2 variables. The culprit seems to be when the logarithm of such a series is taken.

Here is an example:

Log[SeriesData[p,DirectedInfinity[1],List[SeriesData[e,0,List[1,0,Rational[-3,2]],0,3,1],0,SeriesData[e,0,List[3,0,Rational[-3,2]],0,3,1],0,SeriesData[e,0,List[Rational[9,2],0,12],0,3,1],0,SeriesData[e,0,List[Rational[27,2],0,63],0,3,1],0,SeriesData[e,0,List[Rational[405,8],0,Rational[5499,16]],0,3,1]],0,9,2]]

On Mathematica 10.4, this (rapidly) evaluates to another series in (1/p) and e, while on Mathematica 12.0, it stalls for several seconds and then crashes. Simple workarounds using "Normal" inside the Log and then taking another Series are not ideal, as I need Mathematica to track the appropriate orders automatically, rather than having to set all the orders manually.

Is this a bug, or a side effect of some new functionality? Is there a simple way to achieve the 10.4 behavior?

Bug introduced in 11.1 and fixed in 12.1


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 with 2 variables. The culprit seems to be when the logarithm of such a series is taken.

Here is an example:

Log[SeriesData[p,DirectedInfinity[1],List[SeriesData[e,0,List[1,0,Rational[-3,2]],0,3,1],0,SeriesData[e,0,List[3,0,Rational[-3,2]],0,3,1],0,SeriesData[e,0,List[Rational[9,2],0,12],0,3,1],0,SeriesData[e,0,List[Rational[27,2],0,63],0,3,1],0,SeriesData[e,0,List[Rational[405,8],0,Rational[5499,16]],0,3,1]],0,9,2]]

On Mathematica 10.4, this (rapidly) evaluates to another series in (1/p) and e, while on Mathematica 12.0, it stalls for several seconds and then crashes. Simple workarounds using "Normal" inside the Log and then taking another Series are not ideal, as I need Mathematica to track the appropriate orders automatically, rather than having to set all the orders manually.

Is this a bug, or a side effect of some new functionality? Is there a simple way to achieve the 10.4 behavior?

edited tags
Link
Tweeted twitter.com/StackMma/status/1136558585482240000
edited tags
Link
Daniel Lichtblau
  • 60.3k
  • 2
  • 105
  • 201
added 115 characters in body
Source Link
cmm0052
  • 195
  • 6
Loading
edited tags
Link
Michael E2
  • 244.8k
  • 18
  • 351
  • 774
Loading
Source Link
cmm0052
  • 195
  • 6
Loading