Commit bee43916d5d9db292382cd031d49de3b34215692
1 parent
692c2160
Correct exception message in GCTAModelRadialProfile::read()
Showing
1 changed file
with
2 additions
and
2 deletions
inst/cta/src/GCTAModelRadialProfile.cpp
| @@ -469,11 +469,11 @@ void GCTAModelRadialProfile::read(const GXmlElement& xml) | @@ -469,11 +469,11 @@ void GCTAModelRadialProfile::read(const GXmlElement& xml) | ||
| 469 | m_tail.read(*par); | 469 | m_tail.read(*par); |
| 470 | if (m_tail.value() <= 0.0) { | 470 | if (m_tail.value() <= 0.0) { |
| 471 | throw GException::model_invalid_parvalue(G_READ, xml, | 471 | throw GException::model_invalid_parvalue(G_READ, xml, |
| 472 | - "\"Core\" parameter is required to be positive."); | 472 | + "\"Tail\" parameter is required to be positive."); |
| 473 | } | 473 | } |
| 474 | if (!m_tail.has_min() || m_tail.min() <= 0.0) { | 474 | if (!m_tail.has_min() || m_tail.min() <= 0.0) { |
| 475 | throw GException::model_invalid_parlimit(G_READ, xml, | 475 | throw GException::model_invalid_parlimit(G_READ, xml, |
| 476 | - "\"Core\" parameter requires positive minimum boundary."); | 476 | + "\"Tail\" parameter requires positive minimum boundary."); |
| 477 | } | 477 | } |
| 478 | npar[2]++; | 478 | npar[2]++; |
| 479 | } | 479 | } |