Skip to content

Commit

Permalink
Fixbug at summarize_array for is_close update at array module
Browse files Browse the repository at this point in the history
  • Loading branch information
neyberson committed May 29, 2024
1 parent 665c657 commit 3994556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pozo/utils/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def summarize_array(depth):

start = depth[i]
stop = depth[i + 1]
sample_rate_consistent = is_close(sample, stop - start, 0.0001)
sample_rate_consistent = is_close(sample, stop - start, rel_tol=0.0001)
step = stop - start if sample_rate_consistent else None
if step == 0:
step = 0.0001
Expand Down

0 comments on commit 3994556

Please sign in to comment.