-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: node_to_symbolic
errors even though SymbolicUtils.jl is loaded
#368
Comments
I just tested with
and the code ran as expected. So I guess this issue is resolved, but not on an official release yet. |
If SymbolicUtils is loaded and this error still appears, it could be because there was an error during the precompilation or something else, which prevented the extension from loading. This might happen for example if you load SymbolicUtils from a different environment from the one SymbolicRegression is loaded in. It could be a bug too! If you see it again, can you try running |
Ah, I just tried, and I get the same error! Ok, so the reason is that eqn = node_to_symbolic(dominating[end].tree, options) Then it should work! Sorry for the confusion. I am late in releasing 1.0.0, there are just some things I want to make sure are ready before it's up. |
Great, that did it. Thank you! |
Good point! Yes it would be better to give a MethodError here if it’s actually loaded. |
What happened?
I ran the following code (almost exactly copy-pasted from different sections of the README):
Result:
Since SymbolicUtils is loaded, I did not expect to see this error.
Version
v0.24.5
Operating System
Linux
Interface
Julia REPL
Relevant log output
Extra Info
No response
The text was updated successfully, but these errors were encountered: