Skip to content

Commit

Permalink
fix g_shape
Browse files Browse the repository at this point in the history
  • Loading branch information
MaceKuailv committed May 19, 2024
1 parent 475055e commit 963603d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seaduck/topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def __init__(self, od, typ=None):
if "XG" in od.variables:
self.g_shape = od["XG"].shape
else:
self.g_shape = None
self.g_shape = self.h_shape
try:
self.itmax = len(od["time"]) - 1
except (KeyError, TypeError):
Expand Down

0 comments on commit 963603d

Please sign in to comment.