Skip to content
Snippets Groups Projects
Commit f046cc73 authored by Gareth Tribello's avatar Gareth Tribello
Browse files

Fixed bug in retrieving of derivatives in BridgedMultiColvars

parent 1f4e96bd
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ void BridgedMultiColvarFunction::transformBridgedDerivatives( const unsigned& cu
void BridgedMultiColvarFunction::performTask( const unsigned& taskIndex, const unsigned& current, MultiValue& myvals ) const {
MultiValue invals( mycolv->getNumberOfQuantities(), mycolv->getNumberOfDerivatives() );
mycolv->performTask( taskIndex, current, invals );
invals.clearAll(); mycolv->performTask( taskIndex, current, invals );
transformBridgedDerivatives( taskIndex, invals, myvals );
}
......
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