Commit e75fe5a416b01bacd5c5838169866a728a0450a9
1 parent
1bf17790
Integrate code and update change log
Showing
3 changed files
with
3 additions
and
4 deletions
ChangeLog
NEWS
src/ctlike/ctlike.cpp
| ... | ... | @@ -244,7 +244,6 @@ void ctlike::run(void) |
| 244 | 244 | |
| 245 | 245 | // Store Npred |
| 246 | 246 | double npred = m_obs.npred(); |
| 247 | - | |
| 248 | 247 | |
| 249 | 248 | // Store models for which TS should be computed |
| 250 | 249 | std::vector<std::string> ts_srcs; |
| ... | ... | @@ -257,7 +256,7 @@ void ctlike::run(void) |
| 257 | 256 | } |
| 258 | 257 | |
| 259 | 258 | // Compute TS values if requested |
| 260 | - if (ts_srcs.size()) { | |
| 259 | + if (ts_srcs.size() > 0) { | |
| 261 | 260 | |
| 262 | 261 | // Store original maximum likelihood and models |
| 263 | 262 | double logL_src = m_logL; | ... | ... |