Skip to content

Commit

Permalink
Fix : mult error
Browse files Browse the repository at this point in the history
  • Loading branch information
pubpub-zz committed Jul 12, 2022
1 parent 758738d commit 5959cf7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PyPDF2/_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -1164,9 +1164,9 @@ def sign(x: float) -> float:

def mult(m: List[float], n: List[float]) -> List[float]:
return [
m[0] * n[0] + m[2] * n[1],
m[0] * n[1] + m[2] * n[3],
m[2] * n[0] + m[3] * n[1],
m[0] * n[0] + m[1] * n[2],
m[0] * n[1] + m[1] * n[3],
m[2] * n[0] + m[3] * n[2],
m[2] * n[1] + m[3] * n[3],
m[4] * n[0] + m[5] * n[2] + n[4],
m[4] * n[1] + m[5] * n[3] + n[5],
Expand Down

0 comments on commit 5959cf7

Please sign in to comment.