Skip to content

Commit

Permalink
Fix ttfsc error from not specifying custom centering
Browse files Browse the repository at this point in the history
  • Loading branch information
jdickerson95 committed Dec 20, 2024
1 parent a828057 commit ad3ad9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ttmask/box_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import einops


def box_setup(sidelength: int, centering: str, custom_center: tuple):
def box_setup(sidelength: int, centering: str = None, custom_center: tuple = None):
c = sidelength // 2
if centering == "visual" and sidelength % 2 == 0:
center = np.array([c, c, c]) - 0.5
Expand Down

0 comments on commit ad3ad9a

Please sign in to comment.