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

Only use absolute value of the difference #320

Conversation

mattfidler
Copy link
Contributor

No description provided.

@billdenney
Copy link
Contributor

@mattfidler I have an alternate PR in the works that also has testing built in. Give me ~5 minutes.

@billdenney
Copy link
Contributor

... the fix is functionally the same.

@mattfidler
Copy link
Contributor Author

Oops...

@mattfidler
Copy link
Contributor Author

Is the test the same too?

@billdenney
Copy link
Contributor

The test is very similar. I just pushed it, so you can give it a look. My guess is that your test may be better.

@mattfidler
Copy link
Contributor Author

Its about the same.

@mattfidler mattfidler closed this Mar 5, 2023
@billdenney
Copy link
Contributor

I don't have a preference for which gets merged. I'm just glad that I was able to make a reprex (and make a function modification to a C++ function!).

@mattfidler
Copy link
Contributor Author

Well since you were able to do so much, I prefer to merge yours 😄

@mattfidler mattfidler deleted the 318-boundary-issue-triggered-when-lower-and-upper-bounds-are-on-both-sides-of-zero branch April 2, 2023 23:00
@mattfidler mattfidler restored the 318-boundary-issue-triggered-when-lower-and-upper-bounds-are-on-both-sides-of-zero branch April 2, 2023 23:00
@mattfidler mattfidler deleted the 318-boundary-issue-triggered-when-lower-and-upper-bounds-are-on-both-sides-of-zero branch June 22, 2023 14:25
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.

Boundary issue triggered when lower and upper bounds are on both sides of zero
2 participants