Commit 5b231ac7 authored by mattijs's avatar mattijs
Browse files

BUG: molecularDynamics: reference to temporary. Fixes #509.

parent 2dc80380
......@@ -82,7 +82,7 @@ label singleStepDOFs = 0;
const vector& molV(mol().v());
const vector& molOmega(inv(molMoI) & mol().pi());
const vector molOmega(inv(molMoI) & mol().pi());
vector molPiGlobal = mol().Q() & mol().pi();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment