Skip to content

Commit debccdf

Browse files
committed
more clang tidy comments
1 parent e9fe588 commit debccdf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cart_cell.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include "core/interaction_force.h"
2626
#include "core/real_t.h"
2727
#include "core/resource_manager.h"
28+
#include "core/functor.h"
2829
#include "hyperparams.h"
2930
#include "tumor_cell.h"
3031
#include "utils_aux.h"
@@ -173,7 +174,7 @@ Real3 CartCell::CalculateDisplacement(const InteractionForce* force,
173174
if (!IsStatic()) {
174175
auto* ctxt = Simulation::GetActive()->GetExecutionContext();
175176
auto calculate_neighbor_forces =
176-
L2F([&](Agent* neighbor, real_t squared_distance) {
177+
L2F([&](Agent* neighbor, real_t /*squared_distance*/) {
177178
auto neighbor_force = force->Calculate(this, neighbor);
178179
if (neighbor_force[0] != 0 || neighbor_force[1] != 0 ||
179180
neighbor_force[2] != 0) {

0 commit comments

Comments
 (0)