Skip to content

Commit 94c997a

Browse files
tidy07
1 parent 40339c3 commit 94c997a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ namespace geode
106106
{
107107
double sum = 0.0;
108108
this->for_each_object_in_sets( state, this->impacted_set_ids(),
109-
[&sum, &state]( const ObjectId& cur_obj_id ) {
110-
sum += accumulate_interactions_with_neighbors(
109+
[&sum, &state, this]( const ObjectId& cur_obj_id ) {
110+
sum += this->accumulate_interactions_with_neighbors(
111111
cur_obj_id, state );
112112
} );
113113
return sum;

0 commit comments

Comments
 (0)