avoid false positive with static code analysis

This commit is contained in:
Axel Kohlmeyer
2023-07-13 10:53:56 -04:00
parent e2d7c54409
commit 02d189fb23

View File

@ -159,6 +159,8 @@ void ComputeCountType::compute_vector()
nvec = count_dihedrals();
else if (mode == IMPROPER)
nvec = count_impropers();
else
nvec = 0;
// sum across procs as bigint, then convert to double
// correct for multiple counting if newton_bond off