Skip to content

Commit 5b1ae7a

Browse files
Update include/geode/stochastic/sampling/direct/object_set_sampler/point_set_sampler.hpp
Co-authored-by: Pierre Anquez <32702237+panquez@users.noreply.github.com>
1 parent 335d6f7 commit 5b1ae7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/geode/stochastic/sampling/direct/object_set_sampler/point_set_sampler.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ namespace geode
7272
new_point =
7373
PointUniformSampler::sample< dimension >( engine, ball );
7474
}
75-
OPENGEODE_EXCEPTION( true == false,
75+
throw OpenGeodeException(
7676
absl::StrCat(
7777
"[PointSampler] - Cannot find a point in the box: ",
7878
box_.string() ) );

0 commit comments

Comments
 (0)