Skip to content
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

Saving nested anonymous functions fails #42

Open
axsk opened this issue Nov 15, 2015 · 0 comments
Open

Saving nested anonymous functions fails #42

axsk opened this issue Nov 15, 2015 · 0 comments

Comments

@axsk
Copy link

axsk commented Nov 15, 2015

f = ()->(x->x)
save("test.jld", "f", f)

returns

HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
  #000: ../../../src/H5Tcompound.c line 374 in H5Tinsert(): unable to insert member
    major: Datatype
    minor: Unable to insert object
  #001: ../../../src/H5Tcompound.c line 452 in H5T__insert(): member name is not unique
    major: Datatype
    minor: Unable to insert object
ERROR: Error adding field _ to compound datatype
 in h5t_insert at /home/numerik/bzfsikor/.julia/v0.4/HDF5/src/plain.jl:2026
 in h5type at /home/numerik/bzfsikor/.julia/v0.4/JLD/src/jld_types.jl:400
 in write_compound at /home/numerik/bzfsikor/.julia/v0.4/JLD/src/JLD.jl:679
 in write_ref at /home/numerik/bzfsikor/.julia/v0.4/JLD/src/JLD.jl:641
 in h5convert_array at /home/numerik/bzfsikor/.julia/v0.4/JLD/src/JLD.jl:585
 in _write at /home/numerik/bzfsikor/.julia/v0.4/JLD/src/JLD.jl:549
 in write_ref at /home/numerik/bzfsikor/.julia/v0.4/JLD/src/JLD.jl:641
[...]
@axsk axsk changed the title Saving specific anonymous function fails Saving nested anonymous functions fails Nov 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant