JuliaIO / JLD.jl

Saving and loading julia variables while preserving native types
MIT License
277 stars 55 forks source link

Fix to allow reading booleans from the file. #265

Closed pixel27 closed 4 years ago

pixel27 commented 5 years ago

This fixes Issue #249 and #251. Basically it was just updating the jldatatype function to identify HDF5.H5T_BITFIELD as a Bool.

I added tests to the end of jldtests but I had trouble running that file on Julia 1.2. I added "using Random" because the first error was randstring() was not found. However I still could not run that file entirely. Not sure if I should have checked that in. However the new tests do work if run by themselves.

JeffBezanson commented 4 years ago

Merged as #269.