Commit c747e12b authored by Henry's avatar Henry
Browse files

syncToolsTemplates.C: Changed constructor syntax to keep the Intel compiler happy

parent 20ee9190
......@@ -1352,10 +1352,10 @@ void Foam::syncTools::syncBoundaryFaceList
label sz = cycPatch.size();
// Transform (copy of) data on both sides
Field<T> ownVals = SubField<T>(faceValues, sz, ownStart);
Field<T> ownVals(SubField<T>(faceValues, sz, ownStart));
top(nbrPatch, ownVals);
Field<T> nbrVals = SubField<T>(faceValues, sz, nbrStart);
Field<T> nbrVals(SubField<T>(faceValues, sz, nbrStart));
top(cycPatch, nbrVals);
label i0 = ownStart;
......
Markdown is supported
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