#2035: NaNChecker should not use integer division
| Reporter: | Erik Schnetter |
| Status: | new |
| Milestone: | |
| Version: | development version |
| Type: | enhancement |
| Priority: | minor |
| Component: | Other |
Comment (by Roland Haas):
This pull request https://bitbucket.org/cactuscode/cactusutils/pull-requests/22/nanchecker-reduce-cost-of-integer-division/diff improves on the current situation in that it only computes the divisions if a NaN is found (which should be seldom).
Note that b/c of the omp parallel (and the fact that the dimensionality of the grid array is unknown) one cannot keep a running ijk[] array to trade divisions for a couple of if statements.
Please review.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2035/nanchecker-should-not-use-integer-division