Hello Jean-Yves,
Le 06/05/2021 à 11:13, Jean-Yves Baudais a écrit :
.../...
test_ll improves a bit test_l because it uses tail call, but the max
without seg.fault is far from 1000. Where does this limit of 1000 come
from?
from
--> currentMaxDepth = recursionlimit()
currentMaxDepth =
1000.
set by default in the user's preferences:
https://help.scilab.org/docs/6.1.0/en_US/recursionlimit.html
A recursion can be triggered in a involontary way according to a quite
indirect and complex path. That was the case i have met. I have fixed it
with a lot of spying pause() and disp().
But it's not really a way of working...
Samuel
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users