Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
sethrj committed Mar 9, 2024
1 parent 57ba293 commit 54af15a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/orange/OrangeTrackView.hh
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ OrangeTrackView::find_next_step_impl(detail::Intersection isect)
*
* The safety distance at a given point is the minimum safety distance over all
* levels, since surface deduplication can potentionally elide bounding
* surfaces at more deeply embeded levels.
* surfaces at more deeply embedded levels.
*/
CELER_FUNCTION real_type OrangeTrackView::find_safety()
{
Expand Down
4 changes: 2 additions & 2 deletions test/orange/Orange.test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ TEST_F(HexArrayTest, track_out)
EXPECT_VEC_CLOSE(d2b, refd2b, real_type(1e-5), real_type(1e-5));
}

// Test safety distance within a geoemtry that supports simple safety
// Test safety distance within a geometry that supports simple safety
TEST_F(TestEM3Test, safety)
{
EXPECT_FALSE(this->params().supports_safety());
Expand All @@ -1133,7 +1133,7 @@ TEST_F(TestEM3Test, safety)
geo = Initializer_t{{19.99, 19.9, 19.9}, {0, 1, 0}};
EXPECT_SOFT_EQ(0.01, geo.find_safety());

// Initialize on the otherside side the same volume
// Initialize on the other side of the same volume
geo = Initializer_t{{19.42, 19.9, 19.9}, {0, 1, 0}};
EXPECT_SOFT_EQ(0.01, geo.find_safety());
}
Expand Down

0 comments on commit 54af15a

Please sign in to comment.