diff --git a/parallel-crypto3/libs/parallel-math/include/nil/crypto3/math/polynomial/polynomial_dfs_view.hpp b/parallel-crypto3/libs/parallel-math/include/nil/crypto3/math/polynomial/polynomial_dfs_view.hpp index f3cd045c00..e358eece61 100644 --- a/parallel-crypto3/libs/parallel-math/include/nil/crypto3/math/polynomial/polynomial_dfs_view.hpp +++ b/parallel-crypto3/libs/parallel-math/include/nil/crypto3/math/polynomial/polynomial_dfs_view.hpp @@ -102,7 +102,7 @@ namespace nil { // } bool operator==(const polynomial_dfs_view& rhs) const { - return (*it) == (*(rhs.it)) && _d == rhs.d; + return (*it) == (*(rhs.it)) && _d == rhs.data(); } bool operator!=(const polynomial_dfs_view& rhs) const { return !(rhs == *this); @@ -238,7 +238,7 @@ namespace nil { } template - reference emplace_back<>(Args&&... _args) { + reference emplace_back(Args&&... _args) { return it.template emplace_back<>(_args...); } @@ -254,7 +254,7 @@ namespace nil { return it.insert(_position, _x); } template - iterator emplace<>(const_iterator _position, Args&&... _args) { + iterator emplace(const_iterator _position, Args&&... _args) { return it.template emplace<>(_position, _args...); } @@ -309,7 +309,7 @@ namespace nil { // } void swap(polynomial_dfs_view& other) { - it.swap(other.val); + it.swap(other.data()); std::swap(_d, other._d); } diff --git a/parallel-crypto3/libs/parallel-math/include/nil/crypto3/math/polynomial/polynomial_view.hpp b/parallel-crypto3/libs/parallel-math/include/nil/crypto3/math/polynomial/polynomial_view.hpp index d9179ea761..a3f9cea65c 100644 --- a/parallel-crypto3/libs/parallel-math/include/nil/crypto3/math/polynomial/polynomial_view.hpp +++ b/parallel-crypto3/libs/parallel-math/include/nil/crypto3/math/polynomial/polynomial_view.hpp @@ -232,7 +232,7 @@ namespace nil { } template - reference emplace_back<>(Args&&... _args) { + reference emplace_back(Args&&... _args) { return it.template emplace_back<>(_args...); } @@ -248,7 +248,7 @@ namespace nil { return it.insert(_position, _x); } template - iterator emplace<>(const_iterator _position, Args&&... _args) { + iterator emplace(const_iterator _position, Args&&... _args) { return it.template emplace<>(_position, _args...); } @@ -286,7 +286,7 @@ namespace nil { } void swap(polynomial_view& other) { - it.swap(other.val); + it.swap(other.data()); } template @@ -408,7 +408,7 @@ namespace nil { } nil::crypto3::math::condense(q); - this->template assign(q.begin(), q.end()); + this->template assign<>(q.begin(), q.end()); return *this; }