ComputationalRadiationPhysics / picongpu

Performance-Portable Particle-in-Cell Simulations for the Exascale Era :sparkles:
https://picongpu.readthedocs.io
Other
710 stars 218 forks source link

Fix unused variable -Werror failure in FillLocalRateCache #5181

Closed chillenzer closed 1 month ago

chillenzer commented 1 month ago

Immediate reaction to this comment and this CI failure (not sure how long the latter link with last).

I struggled quite a bit to reproduce this until I looked it up and it's only a single, very old compiler not clever enough to understand what's going on. So, only the CI will tell us if this worked. However, I took the liberty of checking the other arguments, too, and added explanatory comments.