From 5ae04469dcd665fe73761aabad90d51294aa5ae0 Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Sun, 9 Sep 2007 21:38:13 +0000 Subject: [PATCH] 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 --- .../apache/commons/math/optimization/DirectSearchOptimizer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java b/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java index 8897c2dc7..04998ff5d 100644 --- a/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java +++ b/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java @@ -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;