Skip to content

Commit 4b58453

Browse files
fix test
1 parent aa47dbe commit 4b58453

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/stochastic/sampling/mcmc/test-metropolis-hasting-sampler.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ namespace
7474
void test_steps( const geode::MetropolisHastings< geode::Point2D >& mh )
7575
{
7676
geode::Configuration< geode::Point2D > state;
77+
geode::Point2D p1{ { 0., 0. } };
78+
geode::MarkedObject< geode::Point2D > mp1{ std::move( p1 ) };
79+
state.add_object( std::move( mp1 ) );
7780
geode::RandomEngine engine;
7881

7982
geode::index_t stat_sum{ 0 };

0 commit comments

Comments
 (0)