Skip to content

Separate out the distance calculations#444

Open
zebmason wants to merge 1 commit into
mrc-ide:masterfrom
zebmason:distance
Open

Separate out the distance calculations#444
zebmason wants to merge 1 commit into
mrc-ide:masterfrom
zebmason:distance

Conversation

@zebmason

@zebmason zebmason commented Aug 2, 2020

Copy link
Copy Markdown
Contributor

By removing branching this may make the calculations faster (branch prediction may disagree). Can add in unit tests.

@weshinsley Let me know if you are interested and I'll do further development.

@zebmason zebmason force-pushed the distance branch 7 times, most recently from 7c40b93 to 4c1a6af Compare August 5, 2020 16:05
@zebmason

zebmason commented Aug 5, 2020

Copy link
Copy Markdown
Contributor Author

This fixes #447

@zebmason zebmason marked this pull request as ready for review August 6, 2020 06:53
@zebmason zebmason force-pushed the distance branch 2 times, most recently from 400d07c to 8246d87 Compare August 7, 2020 07:05
@weshinsley weshinsley linked an issue Aug 7, 2020 that may be closed by this pull request
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.

Looks like the wrong scale in distance calculations (periodic)

1 participant