Skip to content

Commit

Permalink
Mtz::read_stream(): fix handling of with_data arg
Browse files Browse the repository at this point in the history
  • Loading branch information
wojdyr committed Nov 19, 2024
1 parent 4e08d3d commit 32b97aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/gemmi/mtz.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ struct GEMMI_DLL Mtz {
read_stream(mem.stream(), with_data);
} else {
fileptr_t f = file_open(input.path().c_str(), "rb");
read_stream(FileStream{f.get()}, true);
read_stream(FileStream{f.get()}, with_data);
}
}

Expand Down

0 comments on commit 32b97aa

Please sign in to comment.