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

Commit 6ed4ba8

Browse files
committed
optimize: fix typo in Newton
1 parent 50d461a commit 6ed4ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newton.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (n *Newton) NextDirection(loc *Location, dir []float64) (stepSize float64)
9292
grad := mat64.NewVector(dim, loc.Gradient)
9393
n.hess.CopySym(loc.Hessian)
9494

95-
// Find the smallest diagonal entry of the Hesssian.
95+
// Find the smallest diagonal entry of the Hessian.
9696
minA := n.hess.At(0, 0)
9797
for i := 1; i < dim; i++ {
9898
a := n.hess.At(i, i)

0 commit comments

Comments
 (0)