diff --git a/src/ctexpcube/ctexpcube.cpp b/src/ctexpcube/ctexpcube.cpp index 74c0948..fd234c4 100644 --- a/src/ctexpcube/ctexpcube.cpp +++ b/src/ctexpcube/ctexpcube.cpp @@ -435,7 +435,7 @@ void ctexpcube::set_response(void) if (obs != NULL) { // Set response if we don't have one - if (!obs->hasresponse()) { + if (!obs->has_response()) { // Load response information std::string database = (*this)["caldb"].string(); diff --git a/src/ctlike/ctlike.cpp b/src/ctlike/ctlike.cpp index ec12970..f548f95 100644 --- a/src/ctlike/ctlike.cpp +++ b/src/ctlike/ctlike.cpp @@ -455,7 +455,7 @@ void ctlike::get_parameters(void) // If response is not valid then set response from // task parameters - if (!obs->hasresponse()) { + if (!obs->has_response()) { // Get calibration parameters if (!asked_for_response) { diff --git a/src/ctmodel/ctmodel.cpp b/src/ctmodel/ctmodel.cpp index 2ae5d2b..3c0a33e 100644 --- a/src/ctmodel/ctmodel.cpp +++ b/src/ctmodel/ctmodel.cpp @@ -606,7 +606,7 @@ void ctmodel::setup_obs(void) } // Set response if we don't have one - if (!obs->hasresponse()) { + if (!obs->has_response()) { // Set calibration database. If specified parameter is a // directory then use this as the pathname to the calibration diff --git a/src/ctpsfcube/ctpsfcube.cpp b/src/ctpsfcube/ctpsfcube.cpp index 8927390..75dac6c 100644 --- a/src/ctpsfcube/ctpsfcube.cpp +++ b/src/ctpsfcube/ctpsfcube.cpp @@ -435,7 +435,7 @@ void ctpsfcube::set_response(void) if (obs != NULL) { // Set response if we don't have one - if (!obs->hasresponse()) { + if (!obs->has_response()) { // Load response information std::string database = (*this)["caldb"].string();