You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the nr_verts argument to icosphere(), I get a np error that a "Float64 cannot be interpreted as an integer".
I think what is happening is that line 60 returns a float value, which is then used to define the shape of an empty array in line 119. Numpy will raise an exception when a float is used to define the shape of an array.
I changed line 61 to read nu = int(max(nu, nu_min)) and this seems to solve the issue, but I haven't tested this completely.
The text was updated successfully, but these errors were encountered:
When using the
nr_verts
argument toicosphere()
, I get a np error that a "Float64 cannot be interpreted as an integer".I think what is happening is that line 60 returns a float value, which is then used to define the shape of an empty array in line 119. Numpy will raise an exception when a float is used to define the shape of an array.
I changed line 61 to read
nu = int(max(nu, nu_min))
and this seems to solve the issue, but I haven't tested this completely.The text was updated successfully, but these errors were encountered: