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
fromtypingimportAnyimportnumpyasnpimportnumpy.typingasnptdecay: npt.NDArray[np.complexfloating[Any, Any]]
reveal_type(decay) # note: Revealed type is "numpy.ndarray[Any, numpy.dtype[numpy.complexfloating[Any, Any]]]"reveal_type(decay.real) # note: Revealed type is "numpy.ndarray[Any, numpy.dtype[numpy.complexfloating[Any, Any]]]"
I believe it should be numpy.ndarray[Any, numpy.dtype[numpy.floating[Any, Any]]]
The text was updated successfully, but these errors were encountered:
I believe it should be
numpy.ndarray[Any, numpy.dtype[numpy.floating[Any, Any]]]
The text was updated successfully, but these errors were encountered: