Skip to content

Check if we are dividing by zero when rescaling#2016

Open
darbyjohnston wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
darbyjohnston:check_divisor
Open

Check if we are dividing by zero when rescaling#2016
darbyjohnston wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
darbyjohnston:check_divisor

Conversation

@darbyjohnston
Copy link
Copy Markdown
Contributor

Add a check to make sure we are not dividing by zero when rescaling.

Signed-off-by: Darby Johnston <darbyjohnston@yahoo.com>
@darbyjohnston darbyjohnston added the bug A problem, flaw, or broken functionality. label Apr 26, 2026
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.15%. Comparing base (6e13de4) to head (73819e5).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2016   +/-   ##
=======================================
  Coverage   85.14%   85.15%           
=======================================
  Files         181      181           
  Lines       12780    12782    +2     
  Branches     1206     1206           
=======================================
+ Hits        10882    10884    +2     
  Misses       1715     1715           
  Partials      183      183           
Flag Coverage Δ
py-unittests 85.15% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/opentime/rationalTime.h 95.91% <100.00%> (+0.08%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6e13de4...73819e5. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug A problem, flaw, or broken functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants