From 29fff3f6cfb2e8863f2d204c1d93b220da2c65b0 Mon Sep 17 00:00:00 2001 From: Shuli Shu <08cnbj@gmail.com> Date: Fri, 18 Oct 2024 17:49:24 +0000 Subject: [PATCH] quick fix --- pennylane_lightning/core/src/utils/Util.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pennylane_lightning/core/src/utils/Util.hpp b/pennylane_lightning/core/src/utils/Util.hpp index 22d0a3b8d..0186064f1 100644 --- a/pennylane_lightning/core/src/utils/Util.hpp +++ b/pennylane_lightning/core/src/utils/Util.hpp @@ -584,7 +584,7 @@ std::vector cast_vector(const std::vector &vec) { */ template bool areVecsDisjoint(const std::vector &v1, const std::vector &v2) { - std::set s0(v1.begin(), v1.end()); + std::set s0(v1.begin(), v1.end()); s0.insert(v2.begin(), v2.end()); return s0.size() == v1.size() + v2.size(); }