BUG: Corrected error introduced in commit 490bc35

This commit is contained in:
andy 2013-03-12 18:07:29 +00:00
parent 7724762fa2
commit af49916de6

View File

@ -471,7 +471,7 @@ void Foam::forces::read(const dictionary& dict)
// specified directly, from coordinate system, or implicitly (0 0 0)
if (!dict.readIfPresent<point>("CofR", coordSys_.origin()))
{
coordSys_ = coordinateSystem(dict, obr_);
coordSys_ = coordinateSystem(obr_, dict);
localSystem_ = true;
}