Skip to main content

All Questions

Filter by
Sorted by
Tagged with
14 votes
2 answers
174 views

Help understanding a bug when FoldList using RandomChoice is Compiled

Bug introduced in 3.0, persisting through 13.1. Preamble: I submitted this bug to [email protected] and it was acknowledged. I assume it will be fixed eventually. In the meantime I'd like to ...
mef's user avatar
  • 1,639
4 votes
0 answers
166 views

Inconsistent Output Bug and Code-Quits-Kernel Bug with Compile

This is the strangest bug I've encountered. In my experience, variations in the code will unexpectedly crash the kernel, give inconsistent output, or produce expected results with no problems. 1) Code-...
Just Some Old Man's user avatar
19 votes
1 answer
634 views

Strange behavior of Table

Whenever I run the code a = 0; code := (a++); Table[code; a, {1000}] I get a list of 1000 zeros. However, if I replace 1000 with 100, then a get a list equal to ...
Antonio De Juárez's user avatar