Commit b617e3e5 authored by Nestler, Michael's avatar Nestler, Michael
Browse files

fixed delete[] line544

parent bd3b03d4
......@@ -541,7 +541,7 @@ namespace AMDiS { namespace io {
data[i] = static_cast<T>(values[i]);
file.write(reinterpret_cast<char*>(&data[0]), sizeof(T) * size);
delete data;
delete[] data;
return sizeof(T) * size;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment