Skip to content

Commit

Permalink
ensure nvert has proper value
Browse files Browse the repository at this point in the history
  • Loading branch information
langevin-usgs committed Nov 20, 2023
1 parent 6b8be2d commit 597ab8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autotest/test_gridutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def test_get_disu_kwargs(nlay, nrow, ncol, delr, delc, tp, botm):
pprint(kwargs["area"])

assert kwargs["nodes"] == nlay * nrow * ncol
assert kwargs["nvert"] == None
assert kwargs["nvert"] == (nrow + 1) * (ncol + 1)

area = np.array([dr * dc for (dr, dc) in product(delr, delc)], dtype=float)
area = np.array(nlay * [area]).flatten()
Expand Down

0 comments on commit 597ab8f

Please sign in to comment.