fix bug with newton_bond off
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user