Skip to content

Commit c336a46

Browse files
Increase Newton's max iteration to account for variations
1 parent 06b1e67 commit c336a46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pineappl/src/interpolation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ mod applgrid {
2020
let mut yp = y;
2121
let mut deltap = f64::INFINITY;
2222

23-
for _ in 0..10 {
23+
for _ in 0..15 {
2424
let x = (-yp).exp();
2525
let delta = (1.0 - x).mul_add(-5.0, y - yp);
2626
if (delta == 0.0) || ((delta.abs() < 2e-15) && (delta.abs() >= deltap.abs())) {

0 commit comments

Comments
 (0)