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 rejection method #570

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Fix rejection method #570

merged 1 commit into from
Jul 25, 2024

Conversation

matt-frey
Copy link
Member

@matt-frey matt-frey commented Jul 25, 2024

With faa89ff#diff-aa80479ec21430b1df16920459f5125ea4b52bdc7c0f3c2e9bec2b9e13fe2e5dR478 we added a line to set / increment the number of parcels n_parcels which is used for the optimised rejection method (when xlo, xhi, ylo and yhi are present. However, this breaks the inefficient rejection method which already sets / updateds the number of parcels (here: https://github.com/EPIC-model/epic/pull/570/files#diff-aa80479ec21430b1df16920459f5125ea4b52bdc7c0f3c2e9bec2b9e13fe2e5dL466).

@matt-frey matt-frey added bug Something isn't working 3D Issues and pull requests related to the 3D version labels Jul 25, 2024
@matt-frey matt-frey self-assigned this Jul 25, 2024
@matt-frey matt-frey merged commit ec2ff53 into main Jul 25, 2024
@matt-frey matt-frey deleted the fix-rejection-method branch July 25, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3D Issues and pull requests related to the 3D version bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant