Skip to content
Snippets Groups Projects
Commit dda951f2 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Fix DC0M dimensions in ScattererConfiguration destroyer

parent 12fd9905
Branches
Tags
No related merge requests found
...@@ -500,7 +500,7 @@ void ScattererConfiguration::mpibcast(const mixMPI *mpidata) { ...@@ -500,7 +500,7 @@ void ScattererConfiguration::mpibcast(const mixMPI *mpidata) {
#endif #endif
ScattererConfiguration::~ScattererConfiguration() { ScattererConfiguration::~ScattererConfiguration() {
for (int i = 0; i < _configurations; i++) { for (int i = 0; i < _max_layers; i++) {
for (int j = 0; j < _number_of_spheres; j++) { for (int j = 0; j < _number_of_spheres; j++) {
delete[] _dc0_matrix[i][j]; delete[] _dc0_matrix[i][j];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment