mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 18:45:43 +00:00
Open files with test data in binary mode
This commit is contained in:
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);
|
||||
|
Loading…
Reference in New Issue
Block a user