dimensionedSymmTensor: corrected the dimensions of cof

This commit is contained in:
Henry 2013-09-19 15:41:14 +01:00
parent f4f39821de
commit a83cff29cf

View File

@ -128,7 +128,7 @@ dimensionedSymmTensor cof(const dimensionedSymmTensor& dt)
return dimensionedSymmTensor
(
"cof("+dt.name()+')',
dt.dimensions(),
pow(dt.dimensions(), symmTensor::dim - 1),
cof(dt.value())
);
}