diff --git a/src/nlsat/levelwise.cpp b/src/nlsat/levelwise.cpp index 6e02eccd5..e085d6173 100644 --- a/src/nlsat/levelwise.cpp +++ b/src/nlsat/levelwise.cpp @@ -958,7 +958,7 @@ namespace nlsat { // Apply a permutation to a range of root_functions using swap cycles, // avoiding the bulk anum allocations that std::sort's move operations cause. - void apply_permutation(std_vector& rfs, unsigned offset, std_vector& perm) { + void apply_permutation(std_vector& rfs, unsigned offset, std_vector const& perm) { std_vector done(perm.size(), false); for (unsigned i = 0; i < perm.size(); ++i) { if (done[i] || perm[i] == i)