commit 40b81f4ff1a7ae095135ff36a3510c03ff88096e
parent 0ba336be66e2f93501bf13a1b054d07fc48c3889
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 2 Apr 2020 10:54:10 +0200
Remove unused and ineffective initialization of e
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/max_depth_simple_shear.c b/max_depth_simple_shear.c
@@ -76,7 +76,6 @@ double zbrent(double d_s,
int iter;
double a, b, c, d, e, min1, min2, fa, fb, fc, p, q, r, s, tol1, xm;
- e = NAN;
a = x1; b=x2; c=x2;
fa = (*f)(d_s, a);
fb = (*f)(d_s, b);