Skip to content

Fix ZeroDivisionError in Time-based sampler for sub-millisecond sampl…#12

Merged
SimonHH merged 1 commit into
devfrom
claude/fix-new-error-ojR3p
Jun 1, 2026
Merged

Fix ZeroDivisionError in Time-based sampler for sub-millisecond sampl…#12
SimonHH merged 1 commit into
devfrom
claude/fix-new-error-ojR3p

Conversation

@SimonHH
Copy link
Copy Markdown
Owner

@SimonHH SimonHH commented Jun 1, 2026

…e times

Sample times smaller than 0.5ms (e.g. 0.0001s) rounded to 0ms, causing pandas to raise ZeroDivisionError. Switch to microsecond resolution to handle values down to 1µs correctly.

https://claude.ai/code/session_01RBBu4ZEdhRGFLWE7b6WCQP

…e times

Sample times smaller than 0.5ms (e.g. 0.0001s) rounded to 0ms, causing pandas
to raise ZeroDivisionError. Switch to microsecond resolution to handle values
down to 1µs correctly.

https://claude.ai/code/session_01RBBu4ZEdhRGFLWE7b6WCQP
@SimonHH SimonHH merged commit cf21326 into dev Jun 1, 2026
8 checks passed
@SimonHH SimonHH deleted the claude/fix-new-error-ojR3p branch June 1, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants