Skip to content

Commit 21b3579

Browse files
committed
fix method name
1 parent 641eea4 commit 21b3579

File tree

1 file changed

+2
-2
lines changed
  • mllib/src/main/scala/org/apache/spark/mllib/optimization

1 file changed

+2
-2
lines changed

mllib/src/main/scala/org/apache/spark/mllib/optimization/LBFGS.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ class LBFGS(private var gradient: Gradient, private var updater: Updater)
6969

7070
/**
7171
* Set the maximal number of iterations for L-BFGS. Default 100.
72-
* @deprecated use [[setNumIterations()]] instead
72+
* @deprecated use [[LBFGS#setNumIterations]] instead
7373
*/
7474
@deprecated("use setNumIterations instead", "1.1.0")
7575
def setMaxNumIterations(iters: Int): this.type = {
76-
this.setNumCorrections(iters)
76+
this.setNumIterations(iters)
7777
}
7878

7979
/**

0 commit comments

Comments
 (0)