Commit e93ed906d28871408093cd6508d774bd971d818a
1 parent
f6f8d305
Adapted code to method name change from GCTAObservation::hasresponse() to GCTA_O…
…bservation::hasresponse()
Showing
4 changed files
with
4 additions
and
4 deletions
src/ctexpcube/ctexpcube.cpp
| @@ -435,7 +435,7 @@ void ctexpcube::set_response(void) | @@ -435,7 +435,7 @@ void ctexpcube::set_response(void) | ||
| 435 | if (obs != NULL) { | 435 | if (obs != NULL) { |
| 436 | 436 | ||
| 437 | // Set response if we don't have one | 437 | // Set response if we don't have one |
| 438 | - if (!obs->hasresponse()) { | 438 | + if (!obs->has_response()) { |
| 439 | 439 | ||
| 440 | // Load response information | 440 | // Load response information |
| 441 | std::string database = (*this)["caldb"].string(); | 441 | std::string database = (*this)["caldb"].string(); |
src/ctlike/ctlike.cpp
| @@ -455,7 +455,7 @@ void ctlike::get_parameters(void) | @@ -455,7 +455,7 @@ void ctlike::get_parameters(void) | ||
| 455 | 455 | ||
| 456 | // If response is not valid then set response from | 456 | // If response is not valid then set response from |
| 457 | // task parameters | 457 | // task parameters |
| 458 | - if (!obs->hasresponse()) { | 458 | + if (!obs->has_response()) { |
| 459 | 459 | ||
| 460 | // Get calibration parameters | 460 | // Get calibration parameters |
| 461 | if (!asked_for_response) { | 461 | if (!asked_for_response) { |
src/ctmodel/ctmodel.cpp
| @@ -606,7 +606,7 @@ void ctmodel::setup_obs(void) | @@ -606,7 +606,7 @@ void ctmodel::setup_obs(void) | ||
| 606 | } | 606 | } |
| 607 | 607 | ||
| 608 | // Set response if we don't have one | 608 | // Set response if we don't have one |
| 609 | - if (!obs->hasresponse()) { | 609 | + if (!obs->has_response()) { |
| 610 | 610 | ||
| 611 | // Set calibration database. If specified parameter is a | 611 | // Set calibration database. If specified parameter is a |
| 612 | // directory then use this as the pathname to the calibration | 612 | // directory then use this as the pathname to the calibration |
src/ctpsfcube/ctpsfcube.cpp
| @@ -435,7 +435,7 @@ void ctpsfcube::set_response(void) | @@ -435,7 +435,7 @@ void ctpsfcube::set_response(void) | ||
| 435 | if (obs != NULL) { | 435 | if (obs != NULL) { |
| 436 | 436 | ||
| 437 | // Set response if we don't have one | 437 | // Set response if we don't have one |
| 438 | - if (!obs->hasresponse()) { | 438 | + if (!obs->has_response()) { |
| 439 | 439 | ||
| 440 | // Load response information | 440 | // Load response information |
| 441 | std::string database = (*this)["caldb"].string(); | 441 | std::string database = (*this)["caldb"].string(); |