Skip to content

Commit

Permalink
fix warning: int_c vs unsigned in LJ93
Browse files Browse the repository at this point in the history
  • Loading branch information
stuehn committed Jul 19, 2023
1 parent a9ac310 commit 72b308b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interaction/LennardJones93Wall.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class LennardJones93Wall : public SingleParticlePotentialTemplate<LennardJones93

void setParams(unsigned type, real _epsilon, real _sigma, real _sigmaCutoff, real _r0)
{
if (int_c(params_list.size()) < (type + 1))
if (params_list.size() < (type + 1))
{
params_list.resize(type + 1);
}
Expand Down

0 comments on commit 72b308b

Please sign in to comment.