Skip to content

Commit

Permalink
[LinearAlgebra] Fix compilation of assert (#4598)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger committed Mar 19, 2024
1 parent b5aefb4 commit 69fb7d6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -285,7 +285,7 @@ void SparseMatrixProduct<Lhs, Rhs, ResultType>::computeIntersection()
template<class Lhs, class Rhs, class ResultType>
void SparseMatrixProduct<Lhs, Rhs, ResultType>::computeProductFromIntersection()
{
assert(intersection.intersection.size() == product->nonZeros());
assert(m_intersectionAB.intersection.size() == m_productResult.nonZeros());

auto* lhs_ptr = m_lhs->valuePtr();
auto* rhs_ptr = m_rhs->valuePtr();
Expand Down

0 comments on commit 69fb7d6

Please sign in to comment.