Skip to content

Commit

Permalink
Fixes assert in dot_slow().
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathonl committed Jun 15, 2024
1 parent 82fb576 commit 5d0cd9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/savvy/compressed_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ namespace savvy
template <typename AggregateT>
AggregateT dot_slow(const self_type& other, AggregateT ret) const
{
assert(size_ = other.size_);
assert(size_ == other.size_);
if (non_zero_size() < other.non_zero_size())
{
auto beg_it = offsets_.begin();
Expand Down

0 comments on commit 5d0cd9d

Please sign in to comment.