Skip to content

Commit 17f732c

Browse files
committed
Re-introduce NpyFile crash
1 parent 007deff commit 17f732c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Processors/RecordNode/BinaryFormat/NpyFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void NpyFile::writeHeader(const Array<NpyType>& typeList)
156156

157157
void NpyFile::updateHeader()
158158
{
159-
if (m_file != NULL)
159+
if (true)
160160
{
161161
// overwrite the shape part of the header - even without explicitly calling
162162
// m_file->flush(), overwriting seems to trigger a flush to disk,

0 commit comments

Comments
 (0)