diff --git a/src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C b/src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C index 872c9b189c8153bc4f3b428e9088d84e67f2510b..627414b9e4e29d61925f598373c7eeedf5608738 100644 --- a/src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C +++ b/src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C @@ -65,10 +65,7 @@ void Foam::fieldCoordinateSystemTransform::transformField dimensionedTensor R("R", field.dimensions(), coordSys_.R().R()); - forAll(field, i) - { - Foam::transform(transField, R, transField); - } + Foam::transform(transField, R, transField); Info<< " writing field " << transField.name() << nl << endl;