Skip to content

Commit

Permalink
Don't be underzealous about mismatch error either
Browse files Browse the repository at this point in the history
  • Loading branch information
roystgnr committed May 30, 2023
1 parent 3ad94d4 commit 76401dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/src/meshgenerators/XYDelaunayGenerator.C
Expand Up @@ -107,7 +107,7 @@ XYDelaunayGenerator::XYDelaunayGenerator(const InputParameters & parameters)
paramError("stitch_holes", "Need one stitch_holes entry per hole, if specified.");

for (auto hole_i : index_range(_stitch_holes))
if (hole_i < _refine_holes.size() && _stitch_holes[hole_i] && _refine_holes[hole_i])
if (_stitch_holes[hole_i] && (hole_i >= _refine_holes.size() || _refine_holes[hole_i]))
paramError("refine_holes", "Disable auto refine of any hole boundary to be stitched.");
}

Expand Down

0 comments on commit 76401dd

Please sign in to comment.