Skip to content

Commit

Permalink
fixup: shadow variable
Browse files Browse the repository at this point in the history
  • Loading branch information
streeve committed Nov 27, 2024
1 parent 174de49 commit a6852aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/CabanaPD_Force.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ double computeEnergy( ForceType& force, ParticleType& particles,
// Reset energy.
Cabana::deep_copy( W, 0.0 );

double energy;
// if ( _half_neigh )
// energy = computeEnergy_half( force, x, u,
// n_local, neigh_op_tag );
Expand Down

0 comments on commit a6852aa

Please sign in to comment.