Skip to content

Commit ca7e5d8

Browse files
committed
use floating point for 5.
1 parent ae581b6 commit ca7e5d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pineappl/src/interpolation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ mod applgrid {
1616
}
1717

1818
pub fn fx2(y: f64) -> f64 {
19-
let z = -5.0 * (5-y).exp();
19+
let z = -5.0 * (5.0-y).exp();
2020
let w = lambert_w::lambert_w0(z);
2121
return -w / 5.0;
2222
}

0 commit comments

Comments
 (0)