Skip to content

Commit bf7453e

Browse files
Removed an unnecessary assertion. (#730)
It checks for a condition that can actually happen in some cases. And when it does, the very next line handles it gracefully. Co-authored-by: Andreas Salzburger <[email protected]>
1 parent 920a3e5 commit bf7453e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/include/detray/propagator/rk_stepper.ipp

-1
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,6 @@ DETRAY_HOST_DEVICE bool detray::rk_stepper<
753753
static_cast<scalar_type>(1e-20));
754754
}
755755

756-
assert(stepping._initialized == false);
757756
// If the stepper state is still in the initialized state, abort.
758757
if (stepping._initialized == true) {
759758
return navigation.abort();

0 commit comments

Comments
 (0)