Skip to content
Permalink
Browse files

Fix scafacos build.

  • Loading branch information...
KaiSzuttor committed Mar 15, 2019
1 parent ea58a62 commit 09b24dd7b8fe39fc4c02e12c814a20d33d50eef2
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/electrostatics_magnetostatics/scafacos.cpp
@@ -355,7 +355,7 @@ static void set_params_safe(const std::string &method,
coulomb.method = COULOMB_SCAFACOS;
}
#endif
scafacos->set_common_parameters(box_l, per, n_part);
scafacos->set_common_parameters(box_l.data(), per, n_part);

on_coulomb_change();

@@ -444,7 +444,7 @@ void update_system_params() {
int tmp;
MPI_Allreduce(&n_part, &tmp, 1, MPI_INT, MPI_MAX, comm_cart);
n_part = tmp;
scafacos->set_common_parameters(box_l, per, n_part);
scafacos->set_common_parameters(box_l.data(), per, n_part);
}

} // namespace Scafacos

0 comments on commit 09b24dd

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.