-
Notifications
You must be signed in to change notification settings - Fork 50
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 typos and possibly a bug? #509
Conversation
Thanks for the PR!
I just kicked them off, so we'll find out shortly :) Were you trying |
I was attempting to run |
if *l > 0 { | ||
*l -= 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I definitely don't fully understand this code yet, but it seems suspicious that we're using r
instead of l
here. I could certainly be mistaken, though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is definitely a bug. Great catch!
CI is reporting tests passing and I think it's OK if you just want to rely on that for this size of PR. If you still want to get a setup that you can use for developing and testing locally though I'm happy to try to assist. Otherwise, just ignore the below :) To tell pgx to only care about PG14 during
Tests should be run from the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, that looks like a bug in the bias correction code. I suspect it's a significant contributor to issue #508
I spent some more time thinking about this, and I'm less confident than I originally was that it'll completely resolve that issue (although I still don't fully understand this code :P ). There are some tests that are still passing when run against this PR that assert that the
|
if *l > 0 { | ||
*l -= 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is definitely a bug. Great catch!
bors r+ |
Build succeeded: |
Fix a typo in comments, fix some whitespace, and possibly fix a bug??
I haven't been able to get the tests running, so I'm sorry if this fails tests
This is an attempt to resolve this issue: #508