Skip to content

Commit 0a6a265

Browse files
Merge pull request #190 from StingraySoftware/matteobachetti-patch-1
Fix parameter passing in _z_n_fast_cached call
2 parents aa20d96 + 9700ccc commit 0a6a265

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

hendrics/ffa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def z_n_fast_cached(norm, n=2):
133133
cached_sin = cached_sin_harmonics(norm.size, n)
134134
cached_cos = cached_cos_harmonics(norm.size, n)
135135

136-
return _z_n_fast_cached(norm, cached_sin, cached_cos, n=2)
136+
return _z_n_fast_cached(norm, cached_sin, cached_cos, n=n)
137137

138138

139139
@njit()

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ dependencies = [
4040
"matplotlib>=3.0,!=3.4.00,!=3.8.0",
4141
"stingray>=2.2.3",
4242
"tqdm",
43-
"pyyaml"
43+
"pyyaml",
44+
"pyparsing<3.2.2; python_version<'3.10'",
4445
]
4546

4647

0 commit comments

Comments
 (0)