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

Skip to content

Commit c1d18f1

Browse files
committed
Merge pull request #1903 from mdehoon/fix_for_issue_1886
Switching b and c in _transformation_converter to fix issue #1886
2 parents b0b5ec7 + 584ca7d commit c1d18f1

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)