Bug #1930
Some docstrings for GModelSpectralBrokenPlaw same as GModelSpectralPlaw
Status: | Closed | Start date: | 02/22/2017 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assigned To: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Duration: |
Description
I noticed on this page:
http://gammalib.sourceforge.net/doxygen/classGModelSpectralBrokenPlaw.html
In the Detailed Description section, the spectrum equation is the same as the SpectralPlaw spectrum, while in the BrokenPlaw constructor there is a second index:
GModelSpectralBrokenPlaw::GModelSpectralBrokenPlaw ( const std::string & type,
const std::string & prefactor,
const std::string & index1,
const std::string & breakenergy,
const std::string & index2
)
I suspect some of the docstrings in BrokenPlaw weren’t updated when the class was copied over from Plaw.
(It was confusing me for a while as to why SpectralPlaw was using the same equation as SpectralBrokenPlaw)
Recurrence
No recurrence.
History
#1 Updated by Knödlseder Jürgen almost 6 years ago
- Status changed from New to Closed
The Sourceforge documentation is outdated, it’s correct here: http://cta.irap.omp.eu/gammalib/doxygen/classGModelSpectralBrokenPlaw.html