Skip to content

Commit

Permalink
optimize: relax gradient tolerance in two tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-ch committed Feb 20, 2020
1 parent d763153 commit 43ba13d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions optimize/unconstrained_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 43ba13d

Please sign in to comment.