diff --git a/CHANGES/v2.3.txt b/CHANGES/v2.3.txt index 6112922aef342f3d783581859aa7ff5a5dde5ee3..2f218a435b5a45849aab79eb5b28412e80aba7b6 100644 --- a/CHANGES/v2.3.txt +++ b/CHANGES/v2.3.txt @@ -170,6 +170,7 @@ See branch \branch{v2.3} on git repository. domain not symmetric around zero. See \issue{235} (thanks to Summer Snow for reporting this bug). - Fixed numerical issue leading to simulations stuck (LatticeReduction problem) with intel compiler and large simulation cells. +- Fixed a bug affecting \ref LOCAL_AVERAGE and outputting all multicolvars calculated by \ref Q6 with \ref DUMPMULTICOLVAR For developers: - plumedcheck validation has been made stricter. All the checks are now described in the developer manual. diff --git a/src/multicolvar/LocalAverage.cpp b/src/multicolvar/LocalAverage.cpp index 1671f06b5a500549d5746c75f584ac051e438f54..92dd58d2ba1fe8a40bc9f46c4f96eac7fb42c7a3 100644 --- a/src/multicolvar/LocalAverage.cpp +++ b/src/multicolvar/LocalAverage.cpp @@ -93,6 +93,8 @@ public: unsigned getNumberOfQuantities() const ; /// Actually do the calculation double compute( const unsigned& tindex, AtomValuePack& myatoms ) const ; +/// We overwrite this in order to have dumpmulticolvar working for local average + void normalizeVector( std::vector<double>& vals ) const {} /// Is the variable periodic bool isPeriodic() { return false; } };