Skip to content

Commit

Permalink
BUGFIX: times_allowed redundant with pad_left
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobeltran committed Mar 18, 2021
1 parent 257ed45 commit bef1e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multi_locus_analysis/finite_window/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def ecdf_windowed(
elif pad_left_at_x is not None:
# remove this test for now, as weibull/pareto variables can generate
# VERY small waits
# if not np.isclose(times_allowed[0], pad_left_at_x):
if not times_allowed[0] == pad_left_at_x:
if times_allowed[0] < pad_left_at_x:
warnings.warn('pad_left_at_x not left of x in ecdf_windowed! '
'Ignoring...')
Expand Down

0 comments on commit bef1e25

Please sign in to comment.