Skip to content
Snippets Groups Projects
Commit 637ee883 authored by Henry Weller's avatar Henry Weller
Browse files

processorPolyPatch: Avoid nesting loops with the same index

parent 4281d14e
Branches
Tags
No related merge requests found
......@@ -273,10 +273,10 @@ void Foam::processorPolyPatch::calcGeometry(PstreamBuffers& pBufs)
label vertI = 0;
forAll(faceCentres(), facei)
forAll(faceCentres(), facej)
{
const point& c0 = neighbFaceCentres_[facei];
const point& c1 = faceCentres()[facei];
const point& c0 = neighbFaceCentres_[facej];
const point& c1 = faceCentres()[facej];
writeOBJ(ccStr, c0, c1, vertI);
}
......
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