address uninitialized variable issues pointed out by valgrind/coverity

This commit is contained in:
Axel Kohlmeyer
2016-08-22 15:49:33 -04:00
parent 5909bd5429
commit 50a82bb345
2 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ void FixController::end_of_step()
// invoke compute if not previously invoked
double current;
double current = 0.0;
if (pvwhich == COMPUTE) {
if (pvindex == 0) {