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
Pass in a np.mean(my_numpy_array) value to wiz.res() and it'll work fine. However, Pylance complains that we don't have a matching overload for res which is true. We should allow numpy types, e.g. numpy.float64 and so on since numpy is so widely used in scientific research. Maybe there's a generic numpy number type that one could employ.
Note that "it'll work fine" is of course only true if the user has installed numpy (which is reasonable when they pass in a numpy value). But we should check for that and issue an error if that is not the case (suggest that user should install numpy).
The text was updated successfully, but these errors were encountered:
Pass in a
np.mean(my_numpy_array)
value towiz.res()
and it'll work fine. However, Pylance complains that we don't have a matching overload forres
which is true. We should allownumpy
types, e.g.numpy.float64
and so on sincenumpy
is so widely used in scientific research. Maybe there's a genericnumpy
number type that one could employ.Note that "it'll work fine" is of course only true if the user has installed numpy (which is reasonable when they pass in a numpy value). But we should check for that and issue an error if that is not the case (suggest that user should install numpy).
The text was updated successfully, but these errors were encountered: