From bee43916d5d9db292382cd031d49de3b34215692 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Thu, 2 May 2019 15:47:58 +0200 Subject: [PATCH] Correct exception message in GCTAModelRadialProfile::read() --- inst/cta/src/GCTAModelRadialProfile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/cta/src/GCTAModelRadialProfile.cpp b/inst/cta/src/GCTAModelRadialProfile.cpp index 83956c1..8fa35dd 100644 --- a/inst/cta/src/GCTAModelRadialProfile.cpp +++ b/inst/cta/src/GCTAModelRadialProfile.cpp @@ -469,11 +469,11 @@ void GCTAModelRadialProfile::read(const GXmlElement& xml) m_tail.read(*par); if (m_tail.value() <= 0.0) { throw GException::model_invalid_parvalue(G_READ, xml, - "\"Core\" parameter is required to be positive."); + "\"Tail\" parameter is required to be positive."); } if (!m_tail.has_min() || m_tail.min() <= 0.0) { throw GException::model_invalid_parlimit(G_READ, xml, - "\"Core\" parameter requires positive minimum boundary."); + "\"Tail\" parameter requires positive minimum boundary."); } npar[2]++; } -- libgit2 0.21.4