We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35ab5e8 commit 4e0b451Copy full SHA for 4e0b451
1 file changed
uncertainties/unumpy/core.py
@@ -20,7 +20,6 @@
20
21
# 3rd-party modules:
22
import numpy
23
-from numpy.core import numeric
24
25
# Local modules:
26
import uncertainties.umath_core as umath_core
@@ -585,10 +584,10 @@ def __rmul__(self, other):
585
584
# scalar and of a matrix containing objects (when the
586
# arguments are given in this order). We go around this
587
# limitation:
588
- if numeric.isscalar(other):
589
- return numeric.dot(self, other)
+ if numpy.isscalar(other):
+ return numpy.dot(self, other)
590
else:
591
- return numeric.dot(other, self) # The order is important
+ return numpy.dot(other, self) # The order is important
592
593
def getI(self):
594
"""Matrix inverse or pseudo-inverse."""
0 commit comments