Skip to content
This repository was archived by the owner on Nov 23, 2018. It is now read-only.

Commit 12b79c6

Browse files
committed
Use MoreThuente in CG as default Linesearcher
1 parent c930e43 commit 12b79c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cg.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (cg *CG) Init(loc *Location) (Operation, error) {
103103
}
104104

105105
if cg.Linesearcher == nil {
106-
cg.Linesearcher = &Bisection{GradConst: 0.1}
106+
cg.Linesearcher = &MoreThuente{CurvatureFactor: 0.1}
107107
}
108108
if cg.Variant == nil {
109109
cg.Variant = &HestenesStiefel{}

0 commit comments

Comments
 (0)