mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Added documentation for AutoDiffMatrix
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user