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 indexing bug in system libfabric chplenv #19015

Merged
merged 1 commit into from
Jan 14, 2022

Conversation

ronawho
Copy link
Contributor

@ronawho ronawho commented Jan 14, 2022

The old code was trying to index into a tuple with () instead of [],
which doesn't work in python (but does in chapel) so update to use [].
Follow on to #18880.

The old code was trying to index into a tuple with `()` instead of `[]`,
which doesn't work in python (but does in chapel) so update to use `[]`.
Follow on to 18880.

Signed-off-by: Elliot Ronaghan <[email protected]>
@ronawho ronawho requested a review from mppf January 14, 2022 19:50
@ronawho ronawho merged commit 793fb4a into chapel-lang:main Jan 14, 2022
@ronawho ronawho deleted the fix-system-libfabric-chplenv branch January 14, 2022 20:04
@bradcray
Copy link
Member

The old code was trying to index into a tuple with () instead of [],
which doesn't work in python

Such an unproductive language... totally overrated. :D

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.

3 participants