diff options
author | Thomas White <taw@physics.org> | 2011-05-05 10:05:46 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:25 +0100 |
commit | 00f887f273cd376ae10aa80f860e0c477e389fda (patch) | |
tree | 7fc87f2d7735089b5eeffd39b2fd21d1b29f184b /src/geometry.c | |
parent | 4e890d7640a0a7a9d422e8ad67a584f3255ab46f (diff) |
Fussiness
Diffstat (limited to 'src/geometry.c')
-rw-r--r-- | src/geometry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geometry.c b/src/geometry.c index d5845e5d..270db457 100644 --- a/src/geometry.c +++ b/src/geometry.c @@ -97,7 +97,7 @@ static double excitation_error(double xl, double yl, double zl, r = ( ds * sin(al) / sin(tt) ) - k; - delta = sqrt(2.0 * pow(ds, 2.0) * (1-cos(divergence))); + delta = sqrt(2.0 * pow(ds, 2.0) * (1.0-cos(divergence))); if ( divergence > 0.0 ) { r += delta; } else { |