Skip to content

[InterventionalRadiologyController] fix potential div by 0 in computeInstrumentsCurvAbs#220

Merged
hugtalbot merged 1 commit intosofa-framework:masterfrom
fredroy:irc_fix_div_0
Mar 26, 2026
Merged

[InterventionalRadiologyController] fix potential div by 0 in computeInstrumentsCurvAbs#220
hugtalbot merged 1 commit intosofa-framework:masterfrom
fredroy:irc_fix_div_0

Conversation

@fredroy
Copy link
Copy Markdown
Contributor

@fredroy fredroy commented Mar 19, 2026

Skip degenerate zero-length intervals and zero-density sampling to avoid division by zero in ratio computation

@fredroy fredroy added pr: fix pr: status to review To notify reviewers to review this pull-request labels Mar 19, 2026
@hugtalbot hugtalbot added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Mar 26, 2026
@hugtalbot hugtalbot merged commit acfd8b7 into sofa-framework:master Mar 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: fix pr: status ready Approved a pull-request, ready to be squashed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants