Skip to content

Commit

Permalink
fix(GridIntersect): fix vertices for offset grids (#1037)
Browse files Browse the repository at this point in the history
Close #1035
  • Loading branch information
dbrakenhoff committed Jan 13, 2021
1 parent 71162ae commit 369942c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flopy/utils/gridintersect.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ def _intersect_linestring_structured(self, shp, keepzerolengths=False):
self.mfgrid.angrot_radians,
inverse=False,
)
v_realworld.append([rx, ry])
v_realworld.append(list(zip(rx, ry)))
ixs_realworld = []
for ix in ixs:
ix_realworld = rotate(
Expand Down Expand Up @@ -828,7 +828,7 @@ def _intersect_linestring_structured(self, shp, keepzerolengths=False):
self.mfgrid.angrot_radians,
inverse=False,
)
v_realworld.append([rx, ry])
v_realworld.append(list(zip(rx, ry)))
vertices = v_realworld

ix_shapes_realworld = []
Expand Down

0 comments on commit 369942c

Please sign in to comment.