Skip to content
Snippets Groups Projects
Commit 21d755f4 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Avoid the conversion operator of FieldMatrix<,1,1>

It sometimes creates problems with ADOL-C.

[[Imported from SVN: r9841]]
parent f9c7ad68
No related branches found
No related tags found
No related merge requests found
...@@ -262,7 +262,7 @@ evaluateDerivative(const Dune::FieldVector<ctype, dim>& local, const TargetSpace ...@@ -262,7 +262,7 @@ evaluateDerivative(const Dune::FieldVector<ctype, dim>& local, const TargetSpace
for (size_t j=0; j<RHS.M(); j++) { for (size_t j=0; j<RHS.M(); j++) {
RHS[i][j] = 0; RHS[i][j] = 0;
for (size_t k=0; k<dFdw.M(); k++) for (size_t k=0; k<dFdw.M(); k++)
RHS[i][j] += dFdw[i][k]*B[k][0][j]; RHS[i][j] += dFdw[i][k][0][0]*B[k][0][j];
} }
// the actual system matrix // the actual system matrix
......
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