Skip to content

Commit 2ae78a9

Browse files
more tidy
1 parent 3f3192a commit 2ae78a9

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

include/geode/stochastic/inference/target_statistics.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ namespace geode
7676

7777
for( const auto& term : model_.terms().energy_terms() )
7878
{
79-
const auto& id = term->id();
80-
if( active_[model_.term_index( id )] )
79+
const auto& term_id = term->id();
80+
if( active_[model_.term_index( term_id )] )
8181
{
82-
active_terms_uuid.push_back( id );
82+
active_terms_uuid.push_back( term_id );
8383
}
8484
}
8585
return active_terms_uuid;

include/geode/stochastic/sampling/mcmc/proposal/object_set_dynamic_config.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace geode
2929
{
3030
struct ObjectSetDynamicsConfig
3131
{
32-
std::string name{};
32+
std::string name;
3333

3434
double birth_ratio = 1.0;
3535
double death_ratio = 1.0;

include/geode/stochastic/spatial/object_sets.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ namespace geode
6262

6363
public:
6464
ObjectSets() noexcept = default;
65+
~ObjectSets() noexcept = default;
66+
6567
ObjectSets( ObjectSets&& ) noexcept = default;
6668
ObjectSets& operator=( ObjectSets&& ) noexcept = default;
6769

0 commit comments

Comments
 (0)