Skip to content

Commit

Permalink
Merge pull request #546 from GAA-UAM/hotfix/FDataMeanTyping
Browse files Browse the repository at this point in the history
Change type of axis in FData's mean method to accept zero.
  • Loading branch information
vnmabus committed Jun 24, 2023
2 parents c40e372 + 99906d8 commit 4da5cba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skfda/representation/_functional_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ def copy(
def sum( # noqa: WPS125
self: T,
*,
axis: Optional[int] = None,
axis: int | None = None,
out: None = None,
keepdims: bool = False,
skipna: bool = False,
Expand Down Expand Up @@ -822,7 +822,7 @@ def sum( # noqa: WPS125
def mean(
self: T,
*,
axis: None = None,
axis: int | None = None,
dtype: None = None,
out: None = None,
keepdims: bool = False,
Expand Down

0 comments on commit 4da5cba

Please sign in to comment.