Skip to content
Snippets Groups Projects
Commit f5b98a99 authored by Max Kahnt's avatar Max Kahnt
Browse files

Fix static_cast to const ref.

parent 592ee042
Branches
No related tags found
No related merge requests found
......@@ -96,7 +96,7 @@ public:
const_row_reference operator[] (size_type rowIndex) const
{
return const_row_reference(&(static_cast<K&>(nonZeroColumn_[rowIndex])), columnIndex_);
return const_row_reference(&(static_cast<const K&>(nonZeroColumn_[rowIndex])), columnIndex_);
}
size_type nonZeroColumnIndex() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment