Bug #990

Make GModelSpectralNodes save against zero intensities.

Added by Knödlseder Jürgen about 11 years ago. Updated almost 8 years ago.

Status:ClosedStart date:11/18/2013
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:1.3.0
Duration:

Description

So far intensities of spectral nodes can be set to zero, yet the code produces internally NaN as the log10 of the intensities is computed. The class should be make save against setting non-positive intensities.


Recurrence

No recurrence.

History

#1 Updated by Knödlseder Jürgen almost 8 years ago

  • Status changed from New to In Progress
  • Assigned To set to Knödlseder Jürgen
  • Target version set to 1.3.0
  • % Done changed from 0 to 80

Added exceptions if energy or intensity values are not positive.

#2 Updated by Knödlseder Jürgen almost 8 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 80 to 100

Merged into devel.

Also available in: Atom PDF