BUG: Not a reference, a value.

This commit is contained in:
graham
2011-04-06 16:57:34 +01:00
parent 293398cea5
commit 201d2def16

View File

@ -187,7 +187,7 @@ Foam::forceSuSp Foam::NonInertialFrameForce<CloudType>::calcNonCoupled
{ {
forceSuSp value(vector::zero, 0.0); forceSuSp value(vector::zero, 0.0);
const vector& r = p.position() - centreOfRotation_; const vector r = p.position() - centreOfRotation_;
value.Su() = value.Su() =
mass mass