Commit 6614020291c92038331af9b3100dbcd789f957c0

Authored by Jürgen Knödlseder
1 parent 894632b7

Integrate code

Showing 1 changed file with 2 additions and 2 deletions
inst/cta/src/GCTAPsfKing.cpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GCTAPsfKing.cpp - King profile CTA point spread function class * 2 * GCTAPsfKing.cpp - King profile CTA point spread function class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2013-2014 by Michael Mayer * 4 + * copyright (C) 2013-2015 by Michael Mayer *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -597,7 +597,7 @@ void GCTAPsfKing::update(const double& logE, const double& theta) const @@ -597,7 +597,7 @@ void GCTAPsfKing::update(const double& logE, const double& theta) const
597 // Check for parameter sanity 597 // Check for parameter sanity
598 if (m_par_gamma <= 0.0 || m_par_sigma <= 0.0) { 598 if (m_par_gamma <= 0.0 || m_par_sigma <= 0.0) {
599 m_par_norm = 0.0; 599 m_par_norm = 0.0;
600 - std::string msg = " King function parameters m_par_gamma and" 600 + std::string msg = "King function parameters m_par_gamma and"
601 " m_par_sigma are zero (for " 601 " m_par_sigma are zero (for "
602 " parameter space logE=" + 602 " parameter space logE=" +
603 gammalib::str(logE) + " and theta=" + 603 gammalib::str(logE) + " and theta=" +