Skip to content

TypeError: 'numpy.float64' object cannot be interpreted as an integer #1

@hafquangbaox

Description

@hafquangbaox

Your code has many error when i run with python3, please help me check this :(

Kakalot:eyeshadow kakalot$ python3 eyeshadow.py
Traceback (most recent call last):
File "eyeshadow.py", line 115, in
ext(u_l0,l_l0+1,i)
File "eyeshadow.py", line 31, in ext
y.extend((ones(b-a)*i).tolist())
File "/usr/local/lib/python3.6/site-packages/numpy/core/numeric.py", line 192, in ones
a = empty(shape, dtype, order)
TypeError: 'numpy.float64' object cannot be interpreted as an integer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions