solstice-solver

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

commit f5c7ea7570a9420e8932768c4e6c6e5f2a76ea4d
parent c41b51c51262ff24875b72094937b45480480d91
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Mon, 18 Dec 2017 17:41:05 +0100

BugFix: used a wrong union member in a switch

Diffstat:
Msrc/ssol_ranst_sun_dir.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ssol_ranst_sun_dir.c b/src/ssol_ranst_sun_dir.c @@ -284,7 +284,7 @@ ran_gaussian_get pt[0] = cos(phi) * sin_theta; pt[1] = sin(phi) * sin_theta; pt[2] = cos(theta); - d33_muld3(dir, ran->state.pillbox.basis, pt); + d33_muld3(dir, ran->state.gaussian.basis, pt); d3_normalize(dir, dir); return dir; }