Commit 4b7010f8 authored by Spencer Sherwin's avatar Spencer Sherwin
Browse files

Possible mistake for variable p in that we were using P instead of Q to swap edges

parent a89c8db2
......@@ -1238,10 +1238,10 @@ namespace Nektar
// direction reversed); swap edge modes.
if ((int)faceOrient == 7)
{
swap(maparray[0], maparray[P]);
for (i = 1; i < P-1; ++i)
swap(maparray[0], maparray[Q]);
for (i = 1; i < Q-1; ++i)
{
swap(maparray[i+1], maparray[P+i]);
swap(maparray[i+1], maparray[Q+i]);
}
}
}
......
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