Skip to content

Commit

Permalink
test3
Browse files Browse the repository at this point in the history
  • Loading branch information
IVinterbladh committed Jul 17, 2024
1 parent 3e25932 commit b8a6939
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/move.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -936,11 +936,12 @@ void ParallelTempering::_from_json(const json& j)
}
}

void ParallelTempering::writeToFileStream(const double exchange) const
void ParallelTempering::writeToFileStream(Change& change) const
{
if (stream) {
// file to disk?
*stream << fmt::format("{:d}\n", exchange);
*stream << fmt::format("{:.6E}\n", exchange);
*stream << "\n"; // trailing newline
}
}

Expand Down

0 comments on commit b8a6939

Please sign in to comment.