Commit e170765b46e4a87ed47a50f836d45286773bb8cf
1 parent
96602a11
Output covariance matrix for normal chatter level.
Showing
1 changed file
with
9 additions
and
0 deletions
src/ctlike/ctlike.cpp
| ... | ... | @@ -468,6 +468,15 @@ void ctlike::optimize_lm(void) |
| 468 | 468 | |
| 469 | 469 | } |
| 470 | 470 | |
| 471 | + // Optionally show curvature matrix | |
| 472 | + if (logNormal()) { | |
| 473 | + log << std::endl; | |
| 474 | + log.header1("Curvature matrix"); | |
| 475 | + log.indent(1); | |
| 476 | + log << *(const_cast<GObservations::likelihood&>(m_obs.function()).curvature()); | |
| 477 | + log << std::endl; | |
| 478 | + } | |
| 479 | + | |
| 471 | 480 | // Compute errors |
| 472 | 481 | m_obs.errors(*m_opt); |
| 473 | 482 | ... | ... |