mirror of
https://github.com/gonum/gonum.git
synced 2025-10-05 15:16:59 +08:00
optimize: relax gradient tolerance in two tests
This commit is contained in:

committed by
Vladimír Chalupecký

parent
d763153d4c
commit
43ba13d1a9
@@ -593,7 +593,8 @@ var quasiNewtonTests = []unconstrainedTest{
|
||||
Func: functions.BrownBadlyScaled{}.Func,
|
||||
Grad: functions.BrownBadlyScaled{}.Grad,
|
||||
},
|
||||
x: []float64{1, 1},
|
||||
x: []float64{1, 1},
|
||||
gradTol: 1e-9,
|
||||
},
|
||||
{
|
||||
name: "BrownBadlyScaled",
|
||||
@@ -761,7 +762,8 @@ var quasiNewtonTests = []unconstrainedTest{
|
||||
Func: functions.PowellBadlyScaled{}.Func,
|
||||
Grad: functions.PowellBadlyScaled{}.Grad,
|
||||
},
|
||||
x: []float64{0, 1},
|
||||
x: []float64{0, 1},
|
||||
gradTol: 1e-10,
|
||||
},
|
||||
{
|
||||
name: "PowellBadlyScaled",
|
||||
|
Reference in New Issue
Block a user