# Incompatibility in that getmask and a.mask returns nomask
#  instead of None

from numpy.core.ma import *
import numpy.core.ma as nca

def repeat(a, repeats, axis=0):
    return nca.repeat(a, repeats, axis)

def average(a, axis=0, weights=None, returned=0):
    return nca.average(a, axis, weights, returned)

def take(a, indices, axis=0):
    return nca.average(a, indices, axis=0)

@@ -84,21 +84,16 @@
 m numpy.
-core.
 ma impor
@@ -113,13 +113,8 @@
 mpy.
-core.
 ma a

Fix oldnumeric compatibility with ma