optimize: relax gradient tolerance for BFGS test

This commit is contained in:
Dan Kortschak
2020-02-21 10:42:31 +10:30
parent 89be31a4e6
commit 39972c90c7

View File

@@ -840,7 +840,7 @@ var bfgsTests = []unconstrainedTest{
Grad: functions.BrownAndDennis{}.Grad, Grad: functions.BrownAndDennis{}.Grad,
}, },
x: []float64{25, 5, -5, -1}, x: []float64{25, 5, -5, -1},
gradTol: 1e-5, gradTol: 1e-3,
}, },
{ {
name: "ExtendedRosenbrock", name: "ExtendedRosenbrock",