diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc index c5b4f74880df64ff8d3fc00895197337d5b73479..4e77cede9bd01ec67810be889994aa616dcc6a51 100644 --- a/src/one-body-sample.cc +++ b/src/one-body-sample.cc @@ -477,12 +477,12 @@ int main(int argc, char *argv[]) { double ret1 = compute_state_update_bisection(h, unorm, L, s4_old[i][0]); assert(std::abs(1.0 / h * ret1 - (s4_old[i] - unorm / L) / h - - exp(-ret1)) < 1e-11); + exp(-ret1)) < 1e-10); double ret2 = compute_state_update_lambert(h, unorm, L, s4_old[i][0]); assert(std::abs(1.0 / h * ret2 - (s4_old[i] - unorm / L) / h - - exp(-ret2)) < 1e-11); + exp(-ret2)) < 1e-10); assert(std::abs(ret2 - ret1) < 1e-14);