Skip to content

Commit

Permalink
Fix compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulPPelaez committed Feb 21, 2025
1 parent 752c536 commit 2cfff2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/misc/IBM_kernels.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ namespace uammd{
struct BarnettMagland{
private:
real computeNorm() const{
auto foo=[=](real r){return BM(r, alpha, beta);};
auto foo=[this](real r){return BM(r, alpha, beta);};
real norm = 2.0*detail::integrate(foo, 0, alpha, 20000);
return norm;
}
Expand Down

0 comments on commit 2cfff2d

Please sign in to comment.