Skip to content

Commit

Permalink
Fix forgotten renaming of functions
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomofiorin committed Sep 5, 2023
1 parent b3b2ad4 commit 5a254a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lammps/src/COLVARS/colvarproxy_lammps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ double colvarproxy_lammps::compute()
void colvarproxy_lammps::serialize_status(std::string &rst)
{
std::ostringstream os;
colvars->write_restart(os);
colvars->write_state(os);
rst = os.str();
}

Expand All @@ -219,7 +219,7 @@ bool colvarproxy_lammps::deserialize_status(std::string &rst)
std::istringstream is;
is.str(rst);

if (!colvars->read_restart(is)) {
if (!colvars->read_state(is)) {
return false;
} else {
return true;
Expand Down

0 comments on commit 5a254a2

Please sign in to comment.