Skip to content

Commit d4978ac

Browse files
committed
fix typo in matrix.concat
1 parent e47f16f commit d4978ac

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

doc/PyMuPDF.pdf

8.13 KB
Binary file not shown.

doc/html.zip

6.82 KB
Binary file not shown.

fitz/fitz.py

+8-3
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ class _object:
107107

108108
VersionFitz = "1.14.0"
109109
VersionBind = "1.14.1"
110-
VersionDate = "2018-11-18 17:07:00"
111-
version = (VersionBind, VersionFitz, "20181118170700")
110+
VersionDate = "2018-11-19 19:53:56"
111+
version = (VersionBind, VersionFitz, "20181119195356")
112112

113113

114114
class Matrix():
@@ -246,7 +246,12 @@ def concat(self, one, two):
246246
dst.d = one[2] * two[1] + one[3] * two[3]
247247
dst.e = one[4] * two[0] + one[5] * two[2] + two[4]
248248
dst.f = one[4] * two[1] + one[5] * two[3] + two[5]
249-
self = dst
249+
self.a = dst.a
250+
self.b = dst.b
251+
self.c = dst.c
252+
self.d = dst.d
253+
self.e = dst.e
254+
self.f = dst.f
250255
return self
251256

252257
def __getitem__(self, i):

fitz/helper-geo-py.i

+6-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,12 @@ class Matrix():
134134
dst.d = one[2] * two[1] + one[3] * two[3]
135135
dst.e = one[4] * two[0] + one[5] * two[2] + two[4]
136136
dst.f = one[4] * two[1] + one[5] * two[3] + two[5]
137-
self = dst
137+
self.a = dst.a
138+
self.b = dst.b
139+
self.c = dst.c
140+
self.d = dst.d
141+
self.e = dst.e
142+
self.f = dst.f
138143
return self
139144

140145
def __getitem__(self, i):

fitz/version.i

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
%pythoncode %{
22
VersionFitz = "1.14.0"
33
VersionBind = "1.14.1"
4-
VersionDate = "2018-11-18 17:07:00"
5-
version = (VersionBind, VersionFitz, "20181118170700")
4+
VersionDate = "2018-11-19 19:53:56"
5+
version = (VersionBind, VersionFitz, "20181119195356")
66
%}

0 commit comments

Comments
 (0)