Skip to content

Commit

Permalink
fix for gcc10 segfaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ikbuibui committed Feb 5, 2025
1 parent 250e9fc commit 54e95b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/picongpu/plugins/binning/BinningFunctors.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace picongpu
{
// This assumes n_bins and getBinIdx exist
validIdx
= (
= ((
[&]
{
auto [isValid, binIdx] = pmacc::memory::tuple::get<idxs>(tuple).getBinIdx(
Expand All @@ -67,7 +67,7 @@ namespace picongpu
particle);
binsDataspace[idxs] = binIdx;
return isValid;
}()
}())
&& ...);
},
axes);
Expand Down

0 comments on commit 54e95b2

Please sign in to comment.