Commit e93ed906d28871408093cd6508d774bd971d818a

Authored by Jürgen Knödlseder
1 parent f6f8d305

Adapted code to method name change from GCTAObservation::hasresponse() to GCTA_O…

…bservation::hasresponse()
src/ctexpcube/ctexpcube.cpp
... ... @@ -435,7 +435,7 @@ void ctexpcube::set_response(void)
435 435 if (obs != NULL) {
436 436  
437 437 // Set response if we don't have one
438   - if (!obs->hasresponse()) {
  438 + if (!obs->has_response()) {
439 439  
440 440 // Load response information
441 441 std::string database = (*this)["caldb"].string();
... ...
src/ctlike/ctlike.cpp
... ... @@ -455,7 +455,7 @@ void ctlike::get_parameters(void)
455 455  
456 456 // If response is not valid then set response from
457 457 // task parameters
458   - if (!obs->hasresponse()) {
  458 + if (!obs->has_response()) {
459 459  
460 460 // Get calibration parameters
461 461 if (!asked_for_response) {
... ...
src/ctmodel/ctmodel.cpp
... ... @@ -606,7 +606,7 @@ void ctmodel::setup_obs(void)
606 606 }
607 607  
608 608 // Set response if we don't have one
609   - if (!obs->hasresponse()) {
  609 + if (!obs->has_response()) {
610 610  
611 611 // Set calibration database. If specified parameter is a
612 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 435 if (obs != NULL) {
436 436  
437 437 // Set response if we don't have one
438   - if (!obs->hasresponse()) {
  438 + if (!obs->has_response()) {
439 439  
440 440 // Load response information
441 441 std::string database = (*this)["caldb"].string();
... ...