fix bug with newton_bond off

This commit is contained in:
Axel Kohlmeyer
2024-05-20 06:21:23 -04:00
parent 0577e1ff77
commit 658dcef145

View File

@ -386,7 +386,7 @@ void ComputeStressCartesian::compute_array()
if (tag[i] > tag[j]) {
if ((tag[i] + tag[j]) % 2 == 0) continue;
} else if (tag[i] < tag[j]) {
if ((tag[i] < tag[j]) % 2 == 1) continue;
if ((tag[i] + tag[j]) % 2 == 1) continue;
}
}