diff --git a/barretenberg/cpp/src/barretenberg/ecc/groups/element_impl.hpp b/barretenberg/cpp/src/barretenberg/ecc/groups/element_impl.hpp index e71f76c9253..78e3b6cccc3 100644 --- a/barretenberg/cpp/src/barretenberg/ecc/groups/element_impl.hpp +++ b/barretenberg/cpp/src/barretenberg/ecc/groups/element_impl.hpp @@ -494,7 +494,7 @@ template constexpr element element element element::infinity() { - element e; + element e{}; e.self_set_infinity(); return e; }