Added documentation for AutoDiffMatrix

This commit is contained in:
babrodtk
2015-09-21 09:19:56 +02:00
parent 57deb18dc4
commit 4073abeafb
2 changed files with 147 additions and 10 deletions

View File

@@ -158,7 +158,7 @@ namespace Opm
}
// ... then set the one corrresponding to this variable to identity.
assert(blocksizes[index] == num_elem);
jac[index] = M(M::IdentityMatrix, val.size());
jac[index] = M::createIdentity(val.size());
return AutoDiffBlock(std::move(val), std::move(jac));
}