Skip to content

Commit

Permalink
Explicit arguments for simpson
Browse files Browse the repository at this point in the history
BerriesLab committed Jul 28, 2024
1 parent d19e1bd commit 47fd759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skfda/preprocessing/dim_reduction/_fpca.py
Original file line number Diff line number Diff line change
@@ -349,7 +349,7 @@ def _fit_grid(
# grid_points is a list with one array in the 1D case
identity = np.eye(len(X.grid_points[0]))
self._weights = scipy.integrate.simpson(
identity,
y=identity,
x=X.grid_points[0],
)
elif callable(self._weights):

0 comments on commit 47fd759

Please sign in to comment.