Skip to content

Commit

Permalink
Merge pull request #624 from BerriesLab/my-feature-branch
Browse files Browse the repository at this point in the history
Explicit arguments for simpson
  • Loading branch information
vnmabus authored Aug 1, 2024
2 parents d19e1bd + 47fd759 commit 64235be
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
Expand Up @@ -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):
Expand Down

0 comments on commit 64235be

Please sign in to comment.