Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a logical, but likely harmless indexing bug with backup efftime #2365

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

segasai
Copy link
Contributor

@segasai segasai commented Sep 10, 2024

While looking at the backup efftime calculations, I spotted this place where there is a check for len(indices) where indices is a boolean mask (seems to be an IDL'ism).
I think the current code is not what the author meant, but probably still harmless. It's probably still better to fix.

@segasai segasai changed the title fix logical, but likely harmless indexing bug with backup efftime fix a logical, but likely harmless indexing bug with backup efftime Sep 10, 2024
@sbailey
Copy link
Contributor

sbailey commented Sep 11, 2024

Thanks. I agree that this is a bug fix. I think it has no impact on Kibo, but just in case let's wait until we've finished the final Kibo catalogs and tags so that this is merged post-Kibo.

@sbailey sbailey merged commit 48c1641 into main Sep 20, 2024
26 checks passed
@sbailey sbailey deleted the tiny_fix branch September 20, 2024 00:00
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