From c408dee22c23522df3fe673abcc8455b1fa91e12 Mon Sep 17 00:00:00 2001 From: IVinterbladh <122789457+IVinterbladh@users.noreply.github.com> Date: Thu, 18 Jan 2024 09:46:38 +0100 Subject: [PATCH] changed misspelled mininum to minimum in files (#443) --- src/analysis.cpp | 4 ++-- src/penalty.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/analysis.cpp b/src/analysis.cpp index d5a67b6f7..8269e74fa 100644 --- a/src/analysis.cpp +++ b/src/analysis.cpp @@ -256,11 +256,11 @@ bool SystemEnergy::updateMinimumEnergy(const double current_energy) { } minimum_energy = current_energy; - auto filename = MPI::prefix + "mininum_energy.pqr"; + auto filename = MPI::prefix + "minimum_energy.pqr"; faunus_logger->debug("{}: saving {} ({:.2f} kT) at step {}", name, filename, minimum_energy, getNumberOfSteps()); PQRWriter(PQRWriter::Style::PQR).save(filename, spc.groups, spc.geometry.getLength()); - filename = MPI::prefix + "mininum_energy.state"; + filename = MPI::prefix + "minimum_energy.state"; if (std::ofstream file(filename); file) { faunus_logger->debug("{}: saving {} ({:.2f} kT) at step {}", name, filename, minimum_energy, getNumberOfSteps()); json j; diff --git a/src/penalty.h b/src/penalty.h index 73d650251..814f2c535 100644 --- a/src/penalty.h +++ b/src/penalty.h @@ -61,7 +61,7 @@ class Penalty : public EnergyTerm { class PenaltyMPI : public Penalty { private: const MPI::Controller& mpi; - Eigen::VectorXi weights; //!< array w. mininum histogram counts + Eigen::VectorXi weights; //!< array w. minimum histogram counts Eigen::VectorXd buffer; //!< receive buffer for penalty functions void updatePenalty(const std::vector& coordinate) override; //!< Average penalty function across all nodes void averagePenaltyFunctions(); //!< Average penalty functions over all MPI nodes