BUG: dimensionSetIO: copy, not add, exponents

This commit is contained in:
mattijs
2012-10-08 16:09:20 +01:00
parent 5715b002f9
commit 4edd1e0257

View File

@ -420,7 +420,7 @@ Foam::Istream& Foam::dimensionSet::read
multiplier = ds.value();
for (int i=0; i < dimensionSet::nDimensions; ++i)
{
exponents_[i] += ds.dimensions()[i];
exponents_[i] = ds.dimensions()[i];
}
}
else