We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05e4e54 commit 7fb846fCopy full SHA for 7fb846f
1 file changed
Source/Plugins/BinaryWriter/NpyFile.cpp
@@ -168,7 +168,7 @@ void NpyFile::updateHeader()
168
std::cerr << "Error. Header has grown too big to update in-place " << std::endl;
169
}
170
m_file->write(newShape.toUTF8(), newShape.getNumBytesAsUTF8());
171
- //m_file->flush(); // doesn't seem to be necessary, already flushed due to overwrite
+ m_file->flush(); // not necessary, already flushed due to overwrite? do it anyway
172
m_file->setPosition(currentPos); // restore position to end of file
173
174
else
0 commit comments