BUG: Always return contiguous array from colour conversion.

This commit is contained in:
Stefan van der Walt
2011-09-26 21:42:37 -07:00
parent 0b175a345f
commit c4affd4078
+1 -1
View File
@@ -307,7 +307,7 @@ def _convert(matrix, arr):
out.shape = oldshape
out = np.swapaxes(out, 2, 0)
return out
return np.ascontiguousarray(out)
def xyz2rgb(xyz):