Commit 318f67927d302ebfb25576c130968ffb6c3a675f
1 parent
0c2bbeee
Change method name from isvalid() to is_valid().
Showing
1 changed file
with
1 additions
and
1 deletions
src/ctobssim/ctobssim.cpp
| ... | ... | @@ -898,7 +898,7 @@ void ctobssim::simulate_background(GCTAObservation* obs, |
| 898 | 898 | |
| 899 | 899 | // If we have a data model that applies to CTA then simulate |
| 900 | 900 | // events |
| 901 | - if (model != NULL && model->isvalid("CTA", "")) { | |
| 901 | + if (model != NULL && model->is_valid("CTA", "")) { | |
| 902 | 902 | |
| 903 | 903 | // Get simulated CTA event list. Note that this method |
| 904 | 904 | // includes the deadtime correction. | ... | ... |