mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: molecularDynamics: reference to temporary. Fixes #509.
This commit is contained in:
@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user