Skip to content

Commit

Permalink
Fix typo introduced in PR 3452 (AMReX-Codes#3482)
Browse files Browse the repository at this point in the history
Fixes new issue introduced in PR AMReX-Codes#3452. Bug reported by @hklion.
  • Loading branch information
atmyers authored Aug 6, 2023
1 parent 7ec2e0b commit e7d3d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Particle/AMReX_ParticleMesh.H
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ auto call_f (F const& f,
return f(p.getSuperParticle(i), fabarr, plo, dxi);
} else if constexpr (IsCallable<F, decltype(p.getSuperParticle(i)), decltype(fabarr)>::value) {
return f(p.getSuperParticle(i), fabarr);
} else if constexpr (IsCallable<F, decltype(p), decltype(fabarr), decltype(plo), decltype(dxi)>::value) {
} else if constexpr (IsCallable<F, decltype(p), int, decltype(fabarr), decltype(plo), decltype(dxi)>::value) {
return f(p, i, fabarr, plo, dxi);
} else {
return f(p, i, fabarr);
Expand Down

0 comments on commit e7d3d5a

Please sign in to comment.