Skip to content
Snippets Groups Projects
Commit 718fcd98 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: r1639]]
parent ae55f79b
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,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.
Finish editing this message first!
Please register or to comment