Skip to content

Commit

Permalink
Fix incorrect block affine matrix calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
Yu-AnChen committed Mar 22, 2022
1 parent e45300c commit 533a0c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion palom/align.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def shift_affine_mx(mx, shift):
y, x = shift
mx_shift = np.eye(3)
mx_shift[:2, 2] = x, y
return mx @ mx_shift
return mx_shift @ mx

mxs = [
shift_affine_mx(mx, s)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "palom"
version = "2022.3.2"
version = "2022.3.3"
description = "Piecewise alignment for layers of mosaics"
authors = ["Yu-An Chen <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 533a0c6

Please sign in to comment.