10
$\begingroup$

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?

$\endgroup$
  • $\begingroup$ First of all I would report the crash to Wolfram, as reporting it here won't get the root issue addressed. Although I do understand looking for a workaround. $\endgroup$ – user6014 Jun 4 at 15:23
  • $\begingroup$ Is there some standard way to do that beyond sending a message at wolfram.com/support? $\endgroup$ – cmm0052 Jun 4 at 15:44
  • 6
    $\begingroup$ I'll report it as a bug. $\endgroup$ – Daniel Lichtblau Jun 4 at 16:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.