make default argument of virtual function Neighbor::build() explicit
This commit is contained in:
@ -120,7 +120,7 @@ void Verlet::setup(int flag)
|
||||
domain->image_check();
|
||||
domain->box_too_small_check();
|
||||
modify->setup_pre_neighbor();
|
||||
neighbor->build();
|
||||
neighbor->build(1);
|
||||
modify->setup_post_neighbor();
|
||||
neighbor->ncalls = 0;
|
||||
|
||||
@ -182,7 +182,7 @@ void Verlet::setup_minimal(int flag)
|
||||
domain->image_check();
|
||||
domain->box_too_small_check();
|
||||
modify->setup_pre_neighbor();
|
||||
neighbor->build();
|
||||
neighbor->build(1);
|
||||
modify->setup_post_neighbor();
|
||||
neighbor->ncalls = 0;
|
||||
}
|
||||
@ -284,7 +284,7 @@ void Verlet::run(int n)
|
||||
modify->pre_neighbor();
|
||||
timer->stamp(Timer::MODIFY);
|
||||
}
|
||||
neighbor->build();
|
||||
neighbor->build(1);
|
||||
timer->stamp(Timer::NEIGH);
|
||||
if (n_post_neighbor) {
|
||||
modify->post_neighbor();
|
||||
|
||||
Reference in New Issue
Block a user