Skip to content

Fix try block in shape_findcen#322

Merged
gmloose merged 1 commit into
lofar-astron:masterfrom
AlexKurek:Fix-try-block-in-shape_findcen
Jun 22, 2026
Merged

Fix try block in shape_findcen#322
gmloose merged 1 commit into
lofar-astron:masterfrom
AlexKurek:Fix-try-block-in-shape_findcen

Conversation

@AlexKurek

Copy link
Copy Markdown
Contributor

These variables are array indices, so they must by integers. But in Python 3 / returns a float, so it needs to be changed to // (integer division).

@gmloose gmloose left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

@gmloose gmloose merged commit e44bcb3 into lofar-astron:master Jun 22, 2026
1 check passed
@AlexKurek AlexKurek deleted the Fix-try-block-in-shape_findcen branch June 22, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants