Skip to content
Snippets Groups Projects
Commit 64d2cb25 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fix incorrect base type in DMantissa21 filter

parent 811fd1cb
No related branches found
No related tags found
5 merge requests!1997Yet another master into zoom buffer branch merge (with formatting all done!),!1994Draft: Testing master -> zoom merge,!1987Update zoom_merge with master updates (after wrangling immense conflicts),!1982Update zoom merge branch with latest master developments,!1956Rename space_getsid to space_getsid_and_swap_cells() to try to prevent...
......@@ -283,7 +283,7 @@ void set_hdf5_lossy_compression(hid_t* h_prop, hid_t* h_type,
const int bias = (1 << (e_size - 1)) - 1;
H5Tclose(*h_type);
*h_type = H5Tcopy(H5T_NATIVE_FLOAT);
*h_type = H5Tcopy(H5T_NATIVE_DOUBLE);
hid_t h_err = H5Tset_fields(*h_type, s_pos, e_pos, e_size, m_pos, m_size);
if (h_err < 0)
error("Error while setting type properties for field '%s'.", field_name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment