Open files with test data in binary mode

This commit is contained in:
Gunther H. Weber 2021-10-08 19:55:29 -07:00
parent 0d2036a1ee
commit a81c5ca862

@ -762,7 +762,7 @@ std::string HierarchicalContourTree<FieldType>::PrintDotSuperStructure(const cha
template <typename FieldType>
void HierarchicalContourTree<FieldType>::Load(const char* filename)
{
std::ifstream is(filename);
std::ifstream is(filename, std::ios_base::binary);
ReadIndexArray(is, this->RegularNodeGlobalIds);
ReadDataArray<FieldType>(is, this->DataValues);
ReadIndexArray(is, this->RegularNodeSortOrder);