Index: trunk/psLib/src/math/psMinimize.h
===================================================================
--- trunk/psLib/src/math/psMinimize.h	(revision 5176)
+++ trunk/psLib/src/math/psMinimize.h	(revision 5530)
@@ -8,6 +8,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.59 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-09-29 02:16:19 $
+ *  @version $Revision: 1.60 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-11-16 23:06:19 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -52,12 +52,16 @@
 psMinimization;
 
-/** Allocates a psMinimization structure.
- *
- *  @return psMinimization* :   a new psMinimization struct
-*/
-psMinimization *psMinimizationAlloc(
-    int maxIter,                       ///< Number of minimization iterations to perform.
-    float tol                          ///< Requested error tolerance
-);
+#define P_PSMINIMIZATION_SET_MAXITER(m,val) *(int*)&m->maxIter = val
+        #define P_PSMINIMIZATION_SET_TOL(m,val) *(float*)&m->tol = val
+
+
+                /** Allocates a psMinimization structure.
+                 *
+                 *  @return psMinimization* :   a new psMinimization struct
+                */
+                psMinimization *psMinimizationAlloc(
+                    int maxIter,                       ///< Number of minimization iterations to perform.
+                    float tol                          ///< Requested error tolerance
+                );
 
 /** Checks the type of a particular pointer.
