Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -422,16 +422,12 @@ class CompressedRowSparseMatrixConstraint : public sofa::linearalgebra::Compress
return !(*this < other);
}

template <class VecDeriv, typename Real>
Real operator*(const VecDeriv& v) const
{
return CompressedRowSparseMatrixVecDerivMult(row(), v);
}

private:

Index m_internal;
const CompressedRowSparseMatrixConstraint* m_matrix;
/// a default-constructed iterator must report itself as invalid rather
/// than alias row 0 of an unspecified matrix
Index m_internal = s_invalidIndex;
const CompressedRowSparseMatrixConstraint* m_matrix = nullptr;
};

/// Get the iterator corresponding to the beginning of the rows of blocks
Expand Down
Loading
Loading