Sat, 12 Nov 2016 17:00:07 +0000, Pavlyk, Oleksandr kirjoitti:
[clip]
>     if x_arr is not x:
>        in_place = 1  # a copy was made, so we can work in place.
> 
> The logic is of the last line turns out to be incorrect, because the
> input x can be a class with an array interface.

Please see:

https://github.com/scipy/scipy/blob/master/scipy/linalg/misc.py#L169

This probably can be translated to equivalent Numpy C API calls.

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to