Skip to content
Snippets Groups Projects
Commit df1921fd authored by Oliver Sander's avatar Oliver Sander
Browse files

Bugfix: a shared_ptr doesn't have operator[]

Patch by Uli Sack

[[Imported from SVN: r1638]]
parent 114e2c5a
Branches
Tags
No related merge requests found
......@@ -254,7 +254,7 @@ namespace Dune
if (A.nnz>0)
{
for (size_type k=0; k<A.nnz; k++) {
if (A.j[k]==c) {
if (A.j.get()[k]==c) {
return MatrixDimension<block_type>::coldim(A.a[k]);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment