8000 Fix another edge case in _compute_drho by fjosw · Pull Request #194 · fjosw/pyerrors · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix another edge case in _compute_drho #194

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

Merged
merged 4 commits into from
Jun 2, 2023
Merged

Fix another edge case in _compute_drho #194

merged 4 commits into from
Jun 2, 2023

Conversation

fjosw
Copy link
Owner
@fjosw fjosw commented Jun 2, 2023

Some of my analysis scripts failed after the recent changes in #172. I added a minimal failing example and fixed the problem with another small modification in _compute_drho. All tests seem to be passing, please have a close look.

@fjosw fjosw requested a review from s-kuberski June 2, 2023 11:25
@s-kuberski
Copy link
Collaborator

Ah, yes. We're getting there. In the test code that I produced in #189 (comment), the case that you have fixed would have resulted in an inconsistency for w_max=48 and i=24. You change resolves this.

@fjosw fjosw merged commit 525c61e into develop Jun 2, 2023
fjosw added a commit that referenced this pull request Jun 2, 2023
* tests: failing test for compute_drho edge case added.

* tests: example file for failing compute_drho added.

* tests: assertion that dvalue stays the same added to compute drho test.

* fix: another edge case in computation of drho fixed.
@fjosw fjosw deleted the fix/_compute_drho branch June 2, 2023 14:46
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
0