Skip to content

Commit

Permalink
fix crypto3-parallel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Sep 22, 2024
1 parent d4ac94f commit ce2050b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -238,7 +238,7 @@ namespace nil {
}

template<class... Args>
reference emplace_back<>(Args&&... _args) {
reference emplace_back(Args&&... _args) {
return it.template emplace_back<>(_args...);
}

Expand All @@ -254,7 +254,7 @@ namespace nil {
return it.insert(_position, _x);
}
template<class... Args>
iterator emplace<>(const_iterator _position, Args&&... _args) {
iterator emplace(const_iterator _position, Args&&... _args) {
return it.template emplace<>(_position, _args...);
}

Expand Down Expand Up @@ -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);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ namespace nil {
}

template<class... Args>
reference emplace_back<>(Args&&... _args) {
reference emplace_back(Args&&... _args) {
return it.template emplace_back<>(_args...);
}

Expand All @@ -248,7 +248,7 @@ namespace nil {
return it.insert(_position, _x);
}
template<class... Args>
iterator emplace<>(const_iterator _position, Args&&... _args) {
iterator emplace(const_iterator _position, Args&&... _args) {
return it.template emplace<>(_position, _args...);
}

Expand Down Expand Up @@ -286,7 +286,7 @@ namespace nil {
}

void swap(polynomial_view& other) {
it.swap(other.val);
it.swap(other.data());
}

template<typename Range>
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit ce2050b

Please sign in to comment.