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
In [1]: importbh107asbhIn [2]: a=bh.array([1,2,3,4],dtype=bh.float64)
---------------------------------------------------------------------------AttributeErrorTraceback (mostrecentcalllast)
<ipython-input-2-a29eeb4706b2>in<module>---->1a=bh.array([1,2,3,4],dtype=bh.float64)
AttributeError: module'bh107'hasnoattribute'float64'
Fine, then we load it from numpy:
In [3]: import numpy as np
In [4]: a = bh.array([1,2,3,4],dtype=np.float64)
In [5]: a.dtype
Out[5]: numpy.int64
But bh107 just ignores the dtype and picks int64 from looking at the data! Is dtype not a part of bh107? Is one supposed to set the type in some different way?
The text was updated successfully, but these errors were encountered:
OK, so the dtype is not defined in bh107:
Fine, then we load it from numpy:
But bh107 just ignores the dtype and picks int64 from looking at the data! Is dtype not a part of bh107? Is one supposed to set the type in some different way?
The text was updated successfully, but these errors were encountered: