fixed visibility of setMultiStart,
it should be called only from within the minimizes methods git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@574081 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
df73324161
commit
5ae04469dc
|
@ -412,7 +412,7 @@ public abstract class DirectSearchOptimizer {
|
|||
* equal to 1
|
||||
* @param generator random vector generator to use for restarts
|
||||
*/
|
||||
public void setMultiStart(int starts, RandomVectorGenerator generator) {
|
||||
private void setMultiStart(int starts, RandomVectorGenerator generator) {
|
||||
if (starts < 2) {
|
||||
this.starts = 1;
|
||||
this.generator = null;
|
||||
|
|
Loading…
Reference in New Issue