You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into the following error. When I try to create a Formula object with more than 246 model terms I get a RecursionError. One can fix this by simply setting the recursion limit to a higher value but I wanted to report this because I think it is potentially unwanted behaviour. This is a minimal example to reproduce the error:
Thanks for reporting this @Osburg ! The threshold seems to be much higher for me (737), but I can reproduce this. The issue is that the AST generated for the formula is evaluated implicitly via recursion. Fixing this will require switching to a topological evaluation of the formula, and slightly less clean code. Nevertheless, you're right... this is something that really ought not to break, so I'll see if I can resolve it in 0.4.0.
Hi :)
I ran into the following error. When I try to create a Formula object with more than 246 model terms I get a RecursionError. One can fix this by simply setting the recursion limit to a higher value but I wanted to report this because I think it is potentially unwanted behaviour. This is a minimal example to reproduce the error:
The text was updated successfully, but these errors were encountered: