Open joshua-cogliati-inl opened 6 years ago
Getting a scalar from a numpy array does not seem to be supported.
import numpy b : float = float(numpy.array(1))
with mypy gets the error:
error: Argument 1 to "float" has incompatible type "ndarray[Any]"; expected "Union[SupportsFloat, str, bytes]"
Getting a scalar from a numpy array does not seem to be supported.
with mypy gets the error: