[Numpy-discussion] bug in oldnumeric.ma
Stéfan van der Walt
Fri May 9 11:13:11 CDT 2008
2008/5/9 Eric Firing <firstname.lastname@example.org>:
> 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
Computes a**b elementwise.
Masked values are set to 1.
More information about the Numpy-discussion