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
auxillary.py:153: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
I imagine (naively) that the fix involves inserting that dtype=object argument to the two np.array() calls on line 153:
Note: this is somewhat of a preemptive issue, assuming that the edits from #6 go through
Running:
from the Bose Hubbard Demo in the documentation will emit the following warning with
numpy
v1.21.4auxillary.py:153: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
I imagine (naively) that the fix involves inserting that
dtype=object
argument to the twonp.array()
calls on line 153:The text was updated successfully, but these errors were encountered: