Skip to content

fix: Raise on tensor division by zero - #40

Open
VedantMadane wants to merge 1 commit into
Terminay:mainfrom
VedantMadane:fix/issue-10
Open

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

Conversation

@VedantMadane

Copy link
Copy Markdown

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>
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

1 participant