Fix false delete statement

should be delete[]
This commit is contained in:
karl 2020-12-16 20:00:34 +01:00
parent 4fdb56faa6
commit f90d9f6e24

View File

@ -413,7 +413,7 @@ void main_classic(std::string infile, std::string outfile, int num_generations,
} }
result_file.close(); result_file.close();
delete neighbor_counts; delete[] neighbor_counts;
timing->stopFinalization(); timing->stopFinalization();
} }