Skip to content

Fix possible division by zero in interpolation function#16

Merged
antonvh merged 2 commits intoAntonsMindstorms:masterfrom
rchigvintsev:master
Oct 18, 2024
Merged

Fix possible division by zero in interpolation function#16
antonvh merged 2 commits intoAntonsMindstorms:masterfrom
rchigvintsev:master

Conversation

@rchigvintsev
Copy link
Contributor

If someone create keyframe with single tuple of (0, 0) there will be an error of division by zero. This pull request offers simple fix for this issue. It also fixes a little documentation of interpolation function.

@antonvh antonvh merged commit 60f9d9a into AntonsMindstorms:master Oct 18, 2024
@antonvh
Copy link
Collaborator

antonvh commented Oct 18, 2024

Thank you!

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