Commit 3bb18253 authored by Andrew Heather's avatar Andrew Heather
Browse files

removing unnecessary reduce ops

parent 03c7baf7
......@@ -181,9 +181,6 @@ void Foam::fieldMinMax::calcMinMaxFields<Foam::scalar>
scalar minValue = min(field).value();
scalar maxValue = max(field).value();
reduce(minValue, minOp<scalar>());
reduce(maxValue, maxOp<scalar>());
if (Pstream::master())
{
fieldMinMaxFilePtr_() << obr_.time().value() << tab
......
......@@ -42,9 +42,6 @@ void Foam::fieldMinMax::calcMinMaxFields(const word& fieldName)
scalar minValue = min(mag(field)).value();
scalar maxValue = max(mag(field)).value();
reduce(minValue, minOp<scalar>());
reduce(maxValue, maxOp<scalar>());
if (Pstream::master())
{
fieldMinMaxFilePtr_() << obr_.time().value() << tab
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment