diff --git a/sparse/impl/KokkosSparse_par_ilut_numeric_impl.hpp b/sparse/impl/KokkosSparse_par_ilut_numeric_impl.hpp index 0ac9c26166..9375039747 100644 --- a/sparse/impl/KokkosSparse_par_ilut_numeric_impl.hpp +++ b/sparse/impl/KokkosSparse_par_ilut_numeric_impl.hpp @@ -588,7 +588,7 @@ struct IlutWrap { count); Kokkos::single(Kokkos::PerTeam(team), - [=]() { O_row_map(row_idx) = count; }); + [&]() { O_row_map(row_idx) = count; }); } float_t threshold;