diff --git a/pennylane_lightning/core/src/utils/NDPermuter.hpp b/pennylane_lightning/core/src/utils/NDPermuter.hpp index 02ea79fa08..18da0bc1cd 100644 --- a/pennylane_lightning/core/src/utils/NDPermuter.hpp +++ b/pennylane_lightning/core/src/utils/NDPermuter.hpp @@ -183,7 +183,8 @@ template class DefaultPermuter { std::vector small_map_old_to_new_position(blocksize_); // Position old and new. - std::size_t po = 0, pn; + std::size_t po = 0; + std::size_t pn = 0; // Counter of the values of each indices in the iteration (old // ordering). std::vector old_counter(num_indices, 0);