default arguments on polymorph/pure methods can lead to unexpected overloading in derived classes

argument for Integrate::setup() made explicit
This commit is contained in:
Axel Kohlmeyer
2018-02-22 07:53:58 -05:00
parent e1d1c87656
commit cf3887c5e0
14 changed files with 35 additions and 33 deletions

View File

@ -190,7 +190,7 @@ void TemperNPT::command(int narg, char **arg)
if (me_universe == 0 && universe->uscreen)
fprintf(universe->uscreen,"Setting up tempering ...\n");
update->integrate->setup();
update->integrate->setup(1);
if (me_universe == 0) {
if (universe->uscreen) {