@@ -36,7 +36,7 @@ namespace geode
3636 MoveResult< ObjectType > proposed_move;
3737 ObjectRef< ObjectType > new_object ()
3838 {
39- OpenGeodeStochasticStochasticException::check (
39+ OpenGeodeStochasticStochasticException::check_exception (
4040 proposed_move.new_object .has_value (), nullptr ,
4141 OpenGeodeException::TYPE ::data,
4242 " [Proposal] Proposal has no new_object" );
@@ -46,7 +46,7 @@ namespace geode
4646
4747 ObjectId old_object_id ()
4848 {
49- OpenGeodeStochasticStochasticException::check (
49+ OpenGeodeStochasticStochasticException::check_exception (
5050 proposed_move.old_object_id .has_value (), nullptr ,
5151 OpenGeodeException::TYPE ::data,
5252 " [Proposal] Proposal has no old_object_id" );
@@ -70,8 +70,8 @@ namespace geode
7070 Proposal< ObjectType > propose ( const ObjectSets< ObjectType >& current,
7171 RandomEngine& engine ) const
7272 {
73- OpenGeodeStochasticStochasticException::check ( !set_moves_. empty (),
74- nullptr , OpenGeodeException::TYPE ::data,
73+ OpenGeodeStochasticStochasticException::check_exception (
74+ !set_moves_. empty (), nullptr , OpenGeodeException::TYPE ::data,
7575 " [MCMC Proposal Kernel] - no move are defined in the Kernel." );
7676 auto rnd = engine.sample_uniform ( uniform_distribution_closed_ );
7777 for ( const auto proba_id : Range{ cumulative_probs_.size () } )
@@ -131,7 +131,7 @@ namespace geode
131131 probabilities.begin (), probabilities.end (), 0.0 );
132132
133133 // Ensure total > 0
134- OpenGeodeStochasticStochasticException::check (
134+ OpenGeodeStochasticStochasticException::check_exception (
135135 total > GLOBAL_EPSILON , nullptr ,
136136 OpenGeodeException::TYPE ::internal,
137137 " [MCMC Proposal Kernel] - Total "
0 commit comments