mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-13 09:51:57 -06:00
Fix print() method.
This commit is contained in:
parent
c795113ce3
commit
dd52d444e7
@ -412,7 +412,9 @@ namespace Opm
|
||||
int num_blocks = jac_.size();
|
||||
os << "Value =\n" << val_ << "\n\nJacobian =\n";
|
||||
for (int i = 0; i < num_blocks; ++i) {
|
||||
os << "Sub Jacobian #" << i << '\n' << jac_[i] << "\n";
|
||||
Eigen::SparseMatrix<double> m;
|
||||
jac_[i].toSparse(m);
|
||||
os << "Sub Jacobian #" << i << '\n' << m << "\n";
|
||||
}
|
||||
return os;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user