2
$\begingroup$

I found that kernel of

    In[1]=$Version
(*"12.1.1 for Linux x86 (64-bit) (June 19, 2020)"*)

quits when trying to FullSimplify a simple piecewise function

Piecewise[{{0,  s == 0}}, Nothing]
FullSimplify[%]
(* kernel quit*)

Simple bug or invalid syntax?

$\endgroup$
8
  • $\begingroup$ I would not do it with the % the way you do it. It will keep rerunning and if you have heaps of these in your code, that may be an explanation to your kernel quitting. Try this instead FullSimplify[Piecewise[{{0, s == 0}}, Nothing]] which returns Nothing $\endgroup$
    – Robjobbob
    Dec 18, 2020 at 10:20
  • $\begingroup$ The same behavior: kernel quit $\endgroup$
    – Acus
    Dec 18, 2020 at 10:26
  • $\begingroup$ OK in 12.2 on Windows 10: the code returns \[Piecewise] 0 s==0 Nothing True . $\endgroup$
    – user64494
    Dec 18, 2020 at 13:09
  • $\begingroup$ Did you check that after printing the result kernel still is loaded? Please enter something else to be sure that it is still here, since in 11.0 11.3, versions the kernel quits AFTER results are printed. $\endgroup$
    – Acus
    Dec 18, 2020 at 13:35
  • $\begingroup$ I also saw the kernel quit unexpectedly when executing the above code in MMA 12.0.0 on Win10-64. The Piecewise function works fine, although it is a bit odd, so I assume that something goes wrong inside FullSimplify. Simplify also leads to the same crash. $\endgroup$
    – MarcoB
    Dec 18, 2020 at 16:21

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.