-
Notifications
You must be signed in to change notification settings - Fork 39
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
Problem saving function in BSON #107
Comments
Here are some more tries. It seems to affect only lambda functions: save("blah.bson", Dict(:f => abs))
# Works
foo(x) = abs(x)
save("blah.bson", Dict(:f => foo))
# Works
save("blah.bson", Dict(:f => x->abs(x))
# Fails with error above |
This is fixed in #102, but we have not merged yet since we want to do away with calling Julia's C internals. |
I'll take a look later this week at the PR. I agree it would be better to get something working before tackling a more ambitious revision. |
I have also hit this problem. My use case is:
Julia Version 1.7.2 BSON v0.3.4 |
Here is my MWE:
That's with julia 1.7.0, BSON 0.3.4, FileIO 1.11.2 on linux x64
The text was updated successfully, but these errors were encountered: