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

Check human dispersal weights array and grwothmaps aux size in precalc #62

Open
rafaqz opened this issue Nov 12, 2020 · 0 comments
Open

Comments

@rafaqz
Copy link
Member

rafaqz commented Nov 12, 2020

You can pass in aux data and a human dispersal rule with the wrong size arrays, and it does weird things and throws indecipherable errors. This bit me a number of times switching model scales between australia and sydney regions.

We should always check aux array size matches gridsize(simdata) in precalc wherever we use them.

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

No branches or pull requests

1 participant