Skip to content

Commit

Permalink
fix(cvfdutil): fix skip_hanging_node_check (#2423)
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarfasanchez authored Jan 21, 2025
1 parent 1875f5e commit f9da244
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flopy/utils/cvfdutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,11 @@ def to_cvfd(
# Now, go through each vertex and look at the cells that use the vertex.
# For quadtree-like grids, there may be a need to add a new hanging node
# vertex to the larger cell.
vertexdict_keys = list(vertexdict.keys())
if not skip_hanging_node_check:
if verbose:
print("Checking for hanging nodes.")
vertexdict_keys = list(vertexdict.keys())

finished = False
while not finished:
finished = True
Expand Down

0 comments on commit f9da244

Please sign in to comment.