Skip to content
Snippets Groups Projects
Commit 4e95d626 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Fixed warnings

parent 8e604183
No related branches found
No related tags found
No related merge requests found
......@@ -115,10 +115,10 @@ void Histogram::registerKeywords( Keywords& keys ){
Histogram::Histogram(const ActionOptions&ao):
PLUMED_ANALYSIS_INIT(ao),
point(getNumberOfArguments()),
bw(getNumberOfArguments()),
gmin(getNumberOfArguments()),
gmax(getNumberOfArguments()),
point(getNumberOfArguments()),
bw(getNumberOfArguments()),
gbin(getNumberOfArguments()),
nfiles(0)
{
......
......@@ -44,7 +44,6 @@ double Torsion::compute(const Vector& v1,const Vector& v2,const Vector& v3,Vecto
const double modv2(v2.modulo());
const Vector nv2(v2/modv2);
const Vector dmodv2_dv2(nv2);
const Tensor dnv2_v2((Tensor::identity()-extProduct(nv2,nv2))/modv2);
const Vector a(crossProduct(v2,v1));
......
......@@ -65,6 +65,8 @@ private:
void deactivate( const unsigned& );
/// Activate all the values in the list
void activateAll();
/// Avoid hiding of base class virtual function
using Action::deactivate;
protected:
/// Add a vessel to the list of vessels
void addVessel( const std::string& name, const std::string& input );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment