diff --git a/src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C b/src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C index 872c9b189c..627414b9e4 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;