forked from wadetb/tinynumpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Describe the bug
__float__ doesn't understand converting float to int.
To Reproduce
Steps to reproduce the behavior:
from tinynumpy import tinynumpy as tnp
x = tnp.array([1,2,2.5])
TypeError: 'float' object cannot be interpreted as an integerExpected behavior
It's expected to print out the array with a float present.
Screenshots
N/A
Additional context
N/A
Kungairola
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers