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

committed by
Vladimír Chalupecký

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