I've gotten my own python class with a logical_not method to work correctly
if I goto numpy/core/code_generators/generate_umath.py and change

'logical_not' :
    Ufunc(1, 1, None,
          'returns not x elementwise.',
          TD(noobj, out='?'),
          TD(M, f='logical_not', out='?'),
          ),

to

'logical_not' :
    Ufunc(1, 1, None,
          'returns not x elementwise.',
          TD(noobj, out='?'),
          TD(M, f='logical_not'),
          ),

There are a whole bunch of functions with this same error and before I start
changing them, I would like someone more familiar with this code to tell me
if I'm doing the right thing.

Chuck
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to