Skip to content
Snippets Groups Projects
Commit 525f5d1a authored by eric pellegrini's avatar eric pellegrini
Browse files

start the removal of oldnumeric deps

parent fc76a112
No related branches found
No related tags found
No related merge requests found
......@@ -3,10 +3,11 @@
# Numeric package. Please don't use it in new code, use numpy
# directly.
from numpy.oldnumeric import *
def int_sum(a, axis=0):
return add.reduce(a, axis)
def zeros_st(shape, other):
return zeros(shape, dtype=other.dtype)
from numpy import ndarray as array_type
#from numpy.oldnumeric import *
#def int_sum(a, axis=0):
# return add.reduce(a, axis)
#def zeros_st(shape, other):
# return zeros(shape, dtype=other.dtype)
#from numpy import ndarray as array_type
from numpy import ndarray as ArrayType
package = "NumPy"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment