Skip to content

Commit

Permalink
removing some ordering mishap
Browse files Browse the repository at this point in the history
  • Loading branch information
Iximiel committed Nov 20, 2024
1 parent 3918864 commit 060b5d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/colvar/Torsion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ void Torsion::registerKeywords(Keywords& keys) {

Torsion::Torsion(const ActionOptions&ao):
PLUMED_COLVAR_INIT(ao),
pbc(true),
value(1),
derivs(1),
virial(1)
virial(1),
pbc(true)
{
derivs[0].resize(6); std::vector<AtomNumber> atoms;
std::vector<AtomNumber> v1; ActionAtomistic::parseAtomList("VECTOR1",v1);
Expand Down
2 changes: 1 addition & 1 deletion src/crystdistrib/Quaternion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Quaternion::Quaternion(const ActionOptions&ao):
requestAtoms(atoms);
}

void Quaternion::parseAtomList( const int& num, std::vector<AtomNumber>& t, ActionAtomistic* aa ) {
void Quaternion::parseAtomList(int num, std::vector<AtomNumber>& t, ActionAtomistic* aa ) {
aa->parseAtomList("ATOMS",num,t);
if( t.size()==3 ) aa->log.printf(" involving atoms %d %d %d\n",t[0].serial(),t[1].serial(),t[0].serial());
}
Expand Down

0 comments on commit 060b5d3

Please sign in to comment.