Fixed shadowing bug accidentally introduced in computePatchParam()

This commit is contained in:
barry 2016-09-02 20:22:37 -07:00
parent 88c1a00904
commit 831ff856b4

View File

@ -781,9 +781,9 @@ PatchTableFactory::computePatchParam(
Level const& parentLevel = refiner.getLevel(i-1);
Index parentFaceIndex = refinement.getChildFaceParentFace(faceIndex);
int childIndexInParent = refinement.getChildFaceInParentFace(faceIndex);
if (parentLevel.getFaceVertices(parentFaceIndex).size() == 4) {
childIndexInParent = refinement.getChildFaceInParentFace(faceIndex);
switch ( childIndexInParent ) {
case 0 : break;
case 1 : { u+=ofs; } break;