Closed guillaumetousignant closed 3 years ago
Seems to be linked to #4 , 94 works well, 96 gives bad results and 98 doesn't work.
96 elements on debug gives good results, but doesn't work on release??
When the program is recompiled the results are different.
The results are different each time the program is run oh no.
96 on release is fixed with a lower timestep.
Not fixed in debug for 126 elements, and results are still non-deterministic.
Fixed along with #4 by correctly swapping pointers when using the move constructor.
Seems more complicated than that: 64 & 62 elements work, 128 elements work, but not 66.