Skip to content

Commit 9803fb8

Browse files
Fix range_evolve bug
1 parent 7fe5805 commit 9803fb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyhctsa/operations/stationarity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ def range_evolve(y: ArrayLike) -> dict:
569569
if N >= n_val:
570570
out[f'nuql{n_val}'] = lunique(cums[:n_val])/out['totnuq']
571571
else:
572-
out[f'nuql{N}'] = np.nan
572+
out[f'nuql{n_val}'] = np.nan
573573
# (**2**) Actual proportion of full range captured at different points
574574
out['p1'] = cums[int(np.ceil(N * 0.01)) - 1]/fullr
575575
out['p10'] = cums[int(np.ceil(N * 0.1)) - 1]/fullr

0 commit comments

Comments
 (0)