Skip to content

Commit 40339c3

Browse files
tidy06
1 parent 60b8dca commit 40339c3

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

include/geode/stochastic/models/energy_terms/energy_term_builder.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
#include <variant>
3131
#include <vector>
3232

33+
#include <geode/stochastic/common.hpp>
34+
3335
#include <geode/stochastic/models/energy_terms/energy_term.hpp>
3436
#include <geode/stochastic/models/energy_terms/energy_term_config.hpp>
3537
#include <geode/stochastic/models/energy_terms/pairwise_term.hpp>

include/geode/stochastic/models/energy_terms/pairwise_term.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ namespace geode
106106
{
107107
double sum = 0.0;
108108
this->for_each_object_in_sets( state, this->impacted_set_ids(),
109-
[&state]( const ObjectId& cur_obj_id ) {
109+
[&sum, &state]( const ObjectId& cur_obj_id ) {
110110
sum += accumulate_interactions_with_neighbors(
111111
cur_obj_id, state );
112112
} );

include/geode/stochastic/spatial/pairwise_interactions/pairwise_interactions_builder.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
*
2222
*/
2323

24-
#include <geode/basic/assert.hpp>
24+
#include <geode/stochastic/common.hpp>
25+
2526
#include <geode/stochastic/spatial/pairwise_interactions/pairwise_interactions_config.hpp>
2627
#include <variant>
2728

include/geode/stochastic/spatial/single_object_features/single_object_feature_builder.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
#include <variant>
2626

27-
#include <geode/basic/assert.hpp>
27+
#include <geode/stochastic/common.hpp>
2828

2929
#include <geode/stochastic/spatial/single_object_features/segment_length_feature.hpp>
3030
#include <geode/stochastic/spatial/single_object_features/single_object_feature_config.hpp>

0 commit comments

Comments
 (0)