Commit cf382939 authored by Goran Jelic-Cizmek's avatar Goran Jelic-Cizmek
Browse files

Float fix for covariance

In line with the principle of least surprise, all literal integers should have
explicit dots when part of floating math.
parent 11513a94
......@@ -236,8 +236,8 @@ static double covariance_windowed_bessel(
return gsl_sf_bessel_jl(test->ell, s * test->k);
}
return 1. / covariance_volume_no_4pi(
test->s_mean - test->s_delta / 2,
test->s_mean + test->s_delta / 2
test->s_mean - test->s_delta / 2.,
test->s_mean + test->s_delta / 2.
)
*(
integral_power_spherical_bessel1(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment