Skip to content

Commit

Permalink
Merge branch 'main' of github.com:acts-project/acts into tmp-distance…
Browse files Browse the repository at this point in the history
…-to-boundary
  • Loading branch information
andiwand committed Dec 19, 2024
2 parents c8be68f + 87439ad commit 5727270
Show file tree
Hide file tree
Showing 3 changed files with 3,189 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Core/include/Acts/Surfaces/BoundaryTolerance.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ class BoundaryTolerance {
throw std::invalid_argument(
"AbsoluteCartesian: Tolerance must be non-negative");
}
if ((tolerance0 == 0) != (tolerance1 == 0)) {
throw std::invalid_argument(
"AbsoluteCartesian: Both tolerances must be zero or non-zero");
}
}
};

Expand Down
Loading

0 comments on commit 5727270

Please sign in to comment.