Skip to content

Commit

Permalink
updated TrimmedLibrary for WeakPDELibrary case
Browse files Browse the repository at this point in the history
  • Loading branch information
znicolaou committed Dec 3, 2023
1 parent 58f3c53 commit 6642ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysindy/feature_library/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ def transform(self, x_full):
xp_full = []
for x in x_full:
xp = self.library.transform([x])[0]
xp = np.delete(xp, self.drop_inds, axis=x.ax_coord)
xp = np.delete(xp, self.drop_inds, axis=xp.ax_coord)
xp = AxesArray(xp, comprehend_axes(xp))
xp_full.append(xp)
return xp_full
Expand Down

0 comments on commit 6642ca5

Please sign in to comment.