Skip to content

fix: Raise on tensor division by zero - #40

Merged
Terminay merged 1 commit into
Terminay:mainfrom
VedantMadane:fix/issue-10
Aug 25, 2026
Merged

fix: Raise on tensor division by zero#40
Terminay merged 1 commit into
Terminay:mainfrom
VedantMadane:fix/issue-10

Conversation

@VedantMadane

Copy link
Copy Markdown
Contributor

Summary

Raise on tensor division by zero

Changes

  • raise ZeroDivisionError on tensor division by zero
  • add unit test

Fixes #10

- raise ZeroDivisionError on tensor division by zero
- add unit test

Fixes Terminay#10

Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com>
@Terminay
Terminay merged commit a257d77 into Terminay:main Aug 25, 2026
3 checks passed
@Terminay

Copy link
Copy Markdown
Owner

Thank you for contributing to the project this early!! Welcome to the Leanpass contributors wall. Your profile will be present in the README now and will direct users straight to you to follow!

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.

__truediv__ does not protect against division by zero

2 participants