Skip to content

Fix rejection method#570

Merged
matt-frey merged 1 commit intomainfrom
fix-rejection-method
Jul 25, 2024
Merged

Fix rejection method#570
matt-frey merged 1 commit intomainfrom
fix-rejection-method

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