diff options
-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 { |