avoid void return from non-void function

This commit is contained in:
Axel Kohlmeyer
2018-11-12 20:49:01 -05:00
parent 5cb2463204
commit c4c90a96ec
2 changed files with 4 additions and 0 deletions

View File

@ -467,6 +467,8 @@ double FixHyperGlobal::compute_vector(int i)
if (i == 8) return t_hyper;
if (i == 9) return (double) nevent;
if (i == 10) return (double) nevent_atom;
return 0.0;
}
/* ----------------------------------------------------------------------