commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r574081 - /commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java
Date Sun, 09 Sep 2007 21:38:13 GMT
Author: luc
Date: Sun Sep  9 14:38:13 2007
New Revision: 574081

URL: http://svn.apache.org/viewvc?rev=574081&view=rev
Log:
fixed visibility of setMultiStart,
it should be called only from within the minimizes methods

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java?rev=574081&r1=574080&r2=574081&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/optimization/DirectSearchOptimizer.java
Sun Sep  9 14:38:13 2007
@@ -412,7 +412,7 @@
      * 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;



Mime
View raw message