Skip to content

Commit

Permalink
Merge pull request #373 from coderxiang/lbfgs-tol
Browse files Browse the repository at this point in the history
expose improvementTol inside FirstOrderMinimizer
  • Loading branch information
dlwh committed Mar 2, 2015
2 parents 8ed6cde + 6956399 commit 7d42e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion math/src/main/scala/breeze/optimize/LBFGS.scala
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import breeze.util.SerializableLogging
* @param m: The memory of the search. 3 to 7 is usually sufficient.
*/
class LBFGS[T](maxIter: Int = -1, m: Int=10, tolerance: Double=1E-9)
(implicit space: MutableInnerProductModule[T, Double]) extends FirstOrderMinimizer[T, DiffFunction[T]](maxIter, tolerance) with SerializableLogging {
(implicit space: MutableInnerProductModule[T, Double]) extends FirstOrderMinimizer[T, DiffFunction[T]](maxIter, tolerance, tolerance) with SerializableLogging {

import space._
require(m > 0)
Expand Down

0 comments on commit 7d42e37

Please sign in to comment.