Skip to content

Commit

Permalink
should be ncpl not nnodes
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrakenhoff committed Apr 15, 2024
1 parent 5f60c09 commit 95248e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flopy/utils/gridintersect.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,14 +443,14 @@ def _vtx_grid_to_geoms_cellids(self):
)
)
)
for node in range(self.mfgrid.nnodes)
for node in range(self.mfgrid.ncpl)
]
else:
geoms = [
shapely.polygons(self.mfgrid.get_cell_vertices(node))
for node in range(self.mfgrid.nnodes)
for node in range(self.mfgrid.ncpl)
]
return np.array(geoms), np.arange(self.mfgrid.nnodes)
return np.array(geoms), np.arange(self.mfgrid.ncpl)

def _rect_grid_to_shape_list(self):
"""internal method, list of shapely polygons for structured grid cells.
Expand Down

0 comments on commit 95248e6

Please sign in to comment.