Skip to content

Commit

Permalink
Fixed issue raised by SonarCloud
Browse files Browse the repository at this point in the history
  • Loading branch information
nicogno committed Aug 8, 2024
1 parent 782b5d4 commit a028957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/interaction_force.cc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void InteractionForce::ForceBetweenSpheres(const Agent* sphere_lhs,
real_t ref_diameter = sphere_lhs->GetDiameter();
const Real3& nb_mass_location = sphere_rhs->GetPosition();
real_t nb_diameter = sphere_rhs->GetDiameter();
auto* sim = Simulation::GetActive();
const auto* sim = Simulation::GetActive();
auto* param = sim->GetParam();

auto c1 = ref_mass_location;
Expand Down

0 comments on commit a028957

Please sign in to comment.