Skip to content

Commit 7b2e997

Browse files
committed
Squeeze returned snapshots
1 parent e3d57fc commit 7b2e997

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydmd/havok.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def snapshots(self):
121121
"""
122122
if self._snapshots is None:
123123
raise ValueError("You need to call fit().")
124-
return self._snapshots
124+
return np.squeeze(self._snapshots)
125125

126126
@property
127127
def ho_snapshots(self):
@@ -133,7 +133,7 @@ def ho_snapshots(self):
133133
"""
134134
if self._ho_snapshots is None:
135135
raise ValueError("You need to call fit().")
136-
return self._ho_snapshots
136+
return np.squeeze(self._ho_snapshots)
137137

138138
@property
139139
def time(self):

0 commit comments

Comments
 (0)