Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 584ca7d

Browse files
Michiel de HoonMichiel de Hoon
Michiel de Hoon
authored and
Michiel de Hoon
committed
Switching b and c in _transformation_converter to fix issue #1886
1 parent 9e477b3 commit 584ca7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_macosx.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,8 +1199,8 @@ static int _transformation_converter(PyObject* object, void* pointer)
11991199
return 0;
12001200
}
12011201
const double a = *(double*)PyArray_GETPTR2(object, 0, 0);
1202-
const double b = *(double*)PyArray_GETPTR2(object, 0, 1);
1203-
const double c = *(double*)PyArray_GETPTR2(object, 1, 0);
1202+
const double b = *(double*)PyArray_GETPTR2(object, 1, 0);
1203+
const double c = *(double*)PyArray_GETPTR2(object, 0, 1);
12041204
const double d = *(double*)PyArray_GETPTR2(object, 1, 1);
12051205
const double tx = *(double*)PyArray_GETPTR2(object, 0, 2);
12061206
const double ty = *(double*)PyArray_GETPTR2(object, 1, 2);

0 commit comments

Comments
 (0)