-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Solenoid B field benchmark goes out of bounds (#853)
The solenoid B field benchmark goes out of bounds when subsequent positions along a straight line are tested. This fixes this by precomputing the positions only until they leave the interpolation volume, and running on these inputs. This also revealed a bug that since the benchmark tools run the benchmark a number of times (500 here, I believe), but the starting position was not reset, the steps continued further and further outward. This should be fixed now as well. The timing results do not seem to change substantially.
- Loading branch information
1 parent
54dcb61
commit 7ff587b
Showing
1 changed file
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters