Project

General

Profile

Bug #1593

Updated by Mark Abraham over 5 years ago

When converting minimize.c to C++, clang-static-analyzer notices that stepsize gets scaled by golden ratio numbers around line 1960, but then stepsize is unilaterally set to the value of c around line 2142. Removing the latter suppresses the error from the static analyzer, and seems consistent with trying to do scaling of step size. See clang-static-analysis errors at https://gerrit.gromacs.org/#/c/4010/. Thoughts?

Back