From e93ed906d28871408093cd6508d774bd971d818a Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Thu, 24 Jul 2014 22:32:59 +0200 Subject: [PATCH] Adapted code to method name change from GCTAObservation::hasresponse() to GCTA_Observation::hasresponse() --- src/ctexpcube/ctexpcube.cpp | 2 +- src/ctlike/ctlike.cpp | 2 +- src/ctmodel/ctmodel.cpp | 2 +- src/ctpsfcube/ctpsfcube.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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(); -- libgit2 0.21.4