2008/5/9 Eric Firing <[EMAIL PROTECTED]>:
> Pierre GM fixed this in r5137, so that the result is masked only if the
> first argument is negative and the power is between -1 and 1.

Why should the output be masked only when the power is between -1 and
1?  Other powers also produce nan's.  Either way, the docstring should
be updated:

    Computes a**b elementwise.

    Masked values are set to 1.

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

Reply via email to