solstice-solver

Solver library of the solstice app
git clone git://git.meso-star.com/solstice-solver.git
Log | Files | Refs | README | LICENSE

commit 9c3f18150548329fc356fef2a1bae5248c3ee6e2
parent 1bfe98e915de83c5ea89a04b98158921af0eaae5
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Fri, 19 May 2017 17:41:55 +0200

Fix issue #26 (ASSERT when interpolating spectrum)

Was an undue ASSERT that intensities must increase whith wavelengths.

Diffstat:
Msrc/ssol_spectrum.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/ssol_spectrum.c b/src/ssol_spectrum.c @@ -79,7 +79,6 @@ spectrum_interpolate } ASSERT(id_next); /* because spectrum_includes_point */ - ASSERT(ints[id_next] >= ints[id_next - 1]); ASSERT(wls[id_next] >= wls[id_next - 1]); slope = (ints[id_next] - ints[id_next-1]) / (wls[id_next] - wls[id_next-1]);