Skip to content

Commit

Permalink
fix fractal_correlation
Browse files Browse the repository at this point in the history
  • Loading branch information
DominiqueMakowski committed Feb 10, 2022
1 parent 315083a commit 0b2ea62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neurokit2/complexity/fractal_correlation.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def _fractal_correlation_get_r(radius, signal, dist):
if isinstance(radius, int):
dist_range = np.max(dist) - np.min(dist)
r_min, r_max = (np.min(dist) + 0.025 * dist_range), (np.min(dist) + 0.5 * dist_range)
r_vals = expspace(r_min, r_max, radius, base=2)
r_vals = expspace(r_min, r_max, radius, base=2, out="float")

return r_vals

Expand Down

0 comments on commit 0b2ea62

Please sign in to comment.