Commit 8a054f180eb385f347eed422ce3ebb93f4b0ea8a
1 parent
999526b8
Put back origin integration precision of 1e-4.
Showing
1 changed file
with
1 additions
and
2 deletions
inst/cta/src/GCTAResponse_helpers.cpp
| @@ -966,8 +966,7 @@ double cta_npred_diffuse_kern_theta::eval(const double& theta) | @@ -966,8 +966,7 @@ double cta_npred_diffuse_kern_theta::eval(const double& theta) | ||
| 966 | 966 | ||
| 967 | // Integrate over phi | 967 | // Integrate over phi |
| 968 | GIntegral integral(&integrand); | 968 | GIntegral integral(&integrand); |
| 969 | - //integral.eps(1.0e-4); | ||
| 970 | - integral.eps(1.0e-5); | 969 | + integral.eps(1.0e-4); |
| 971 | npred = integral.romb(0.0, gammalib::twopi) * sin_theta; | 970 | npred = integral.romb(0.0, gammalib::twopi) * sin_theta; |
| 972 | 971 | ||
| 973 | // Debug: Check for NaN | 972 | // Debug: Check for NaN |