Skip to content
Snippets Groups Projects
Commit 535edad6 authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

bugfix: now the test passes

[[Imported from SVN: r5739]]
parent 4fd4cbd0
No related branches found
No related tags found
No related merge requests found
......@@ -121,11 +121,11 @@ public:
Dune::FieldMatrix<double,dim,dim> B;
for (int i=0; i<dim; i++)
for (int j=0; j<dim; j++)
B[i][j] = (i==j)*sp + a.data_[j]*b.data_[i];
B[i][j] = (i==j)*sp + a.data_[i]*b.data_[j];
// Bring it all together
result = A;
result.axpy(derivativeOfArcCosSquared(sp), B);
result.axpy(-1*derivativeOfArcCosSquared(sp), B);
return result;
}
......
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