Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty committed Sep 18, 2023
1 parent 1e51e72 commit 184aeee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xarray/core/rolling_exp.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@


def _get_alpha(
com: float | None, span: float | None, halflife: float | None, alpha: float | None
com: float | None = None,
span: float | None = None,
halflife: float | None = None,
alpha: float | None = None,
) -> float:
# pandas defines in terms of com (converting to alpha in the algo)
# so use its function to get a com and then convert to alpha
Expand Down

0 comments on commit 184aeee

Please sign in to comment.