Commit 2cc8700eee08184c81eb95847bdf769690fa34ce
1 parent
844130f6
Make sure that observation boundaries are set
Showing
2 changed files
with
5 additions
and
2 deletions
src/ctobssim/ctobssim.cpp
| ... | ... | @@ -570,6 +570,11 @@ void ctobssim::get_parameters(void) |
| 570 | 570 | m_obs = get_observations(); |
| 571 | 571 | } |
| 572 | 572 | |
| 573 | + // ... otherwise make sure that observation boundaries are set | |
| 574 | + else { | |
| 575 | + set_obs_bounds(m_obs); | |
| 576 | + } | |
| 577 | + | |
| 573 | 578 | // Read model definition file if required |
| 574 | 579 | if (m_obs.models().size() == 0) { |
| 575 | 580 | std::string inmodel = (*this)["inmodel"].filename(); | ... | ... |
src/support/ctool.cpp