Skip to content
Snippets Groups Projects
Commit 4c91cf01 authored by Markus Blatt's avatar Markus Blatt
Browse files

Fixed bug in test.

[[Imported from SVN: r750]]
parent 54466186
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ class MatrixFunc
public:
void operator()(const Dune::BCRSMatrix<Dune::FieldMatrix<double,1,1> >::row_type& row)
{
std::cout << row[0]<<" ";
std::cout << *(row.begin())<<" ";
}
};
......@@ -40,7 +40,7 @@ int main()
bcrsMatrix.addindex(1, 1);
bcrsMatrix.addindex(1, 0);
bcrsMatrix.addindex(2, 2);
bcrsMatrix.addindex(1, 2);
bcrsMatrix.addindex(2, 1);
bcrsMatrix.endindices();
bcrsMatrix = 0;
......
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