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

Set start/end_buf_ptr for var size nonEmptyDomain #308

Merged

Conversation

Shelnutt2
Copy link
Member

This fixes a case where for dimensions which are fixed length and end_buf_ptr is not set resulting in:

nboundLocalError: local variable 'end_buf' referenced before assignment

@Shelnutt2 Shelnutt2 requested a review from ihnorton May 12, 2020 14:15
@Shelnutt2
Copy link
Member Author

@ihnorton I'm not sure about the OSX failure here. Is that a transient failure?

@ihnorton
Copy link
Member

I saw that once before, but couldn't reproduce it locally or on CI. Will dig in a bit more.

@ihnorton ihnorton self-assigned this May 12, 2020
This fixes a case where for dimensions which are fixed length and
end_buf_ptr is not set resulting in:

`nboundLocalError: local variable 'end_buf' referenced before assignment`
@ihnorton ihnorton force-pushed the sethshelnutt/ch2251/unboundlocalerror-local-variable-end-buf branch from 547b8d9 to 3994b0c Compare May 12, 2020 20:07
@ihnorton
Copy link
Member

@Shelnutt2 I couldn't reproduce, going to make the failure into a warning up to 3x per attempt, and see if it is repeatable within a given run. See 981719e

@ihnorton ihnorton mentioned this pull request May 12, 2020
@ihnorton ihnorton merged commit b335ba6 into dev May 12, 2020
@ihnorton ihnorton deleted the sethshelnutt/ch2251/unboundlocalerror-local-variable-end-buf branch May 12, 2020 20:39
ihnorton added a commit that referenced this pull request May 14, 2020
ihnorton added a commit that referenced this pull request May 14, 2020
antalakas pushed a commit that referenced this pull request Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants