Skip to content

Commit f9da244

Browse files
fix(cvfdutil): fix skip_hanging_node_check (#2423)
1 parent 1875f5e commit f9da244

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flopy/utils/cvfdutil.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,11 @@ def to_cvfd(
223223
# Now, go through each vertex and look at the cells that use the vertex.
224224
# For quadtree-like grids, there may be a need to add a new hanging node
225225
# vertex to the larger cell.
226+
vertexdict_keys = list(vertexdict.keys())
226227
if not skip_hanging_node_check:
227228
if verbose:
228229
print("Checking for hanging nodes.")
229-
vertexdict_keys = list(vertexdict.keys())
230+
230231
finished = False
231232
while not finished:
232233
finished = True

0 commit comments

Comments
 (0)