Update switch to use case and assertion
@@ -594,6 +594,7 @@ void _faceIjkPentToGeoBoundary(const FaceIJK* h, int res, GeoBoundary* g) {
edge0 = &v1;
edge1 = &v2;
break;
+ case KI:
default:
assert(adjacentFaceDir[tmpFijk.face][fijk.face] == KI);
edge0 = &v2;
@@ -747,6 +748,7 @@ void _faceIjkToGeoBoundary(const FaceIJK* h, int res, int isPentagon,
edge0 = &v1;
edge1 = &v2;
break;
+ case KI:
default:
assert(adjacentFaceDir[centerIJK.face][face2] == KI);
edge0 = &v2;
