Skip to content

Commit

Permalink
fix(vtk): fix __transient_vector access (#2209)
Browse files Browse the repository at this point in the history
the key should be `per` not `d`
  • Loading branch information
mickey-tsai committed Jun 6, 2024
1 parent 4a26cab commit d81d7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flopy/export/vtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@ def write(self, f: Union[str, os.PathLike], kper=None):
self.add_array(array, name)

if per in self.__transient_vector:
d = self.__transient_vector[d]
d = self.__transient_vector[per]
for name, vector in d.items():
self.add_vector(vector, name)

Expand Down

0 comments on commit d81d7c0

Please sign in to comment.