Fix bugs in usage of typed memoryviews

This commit is contained in:
Johannes Schönberger
2013-08-19 19:31:40 +02:00
parent c8f619e384
commit 5f82c206b4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -123,4 +123,4 @@ def _warp_fast(cnp.ndarray image, cnp.ndarray H, output_shape=None,
out[tfr, tfc] = interp_func(&img[0, 0], rows, cols, r, c,
mode_c, cval)
return out
return np.asarray(out)