Index: /trunk/psModules/src/detrend/pmShutterCorrection.c
===================================================================
--- /trunk/psModules/src/detrend/pmShutterCorrection.c	(revision 10256)
+++ /trunk/psModules/src/detrend/pmShutterCorrection.c	(revision 10257)
@@ -301,10 +301,8 @@
 
     // XXX for the moment, don't set any constraints
-    // psMinConstrain *constrain = psMinConstrainAlloc();
-    // constrain->paramDelta = psVectorAlloc (3, PS_TYPE_F32);
-    // constrain->paramMin   = psVectorAlloc (3, PS_TYPE_F32);
-    // constrain->paramMax   = psVectorAlloc (3, PS_TYPE_F32);
-    // constrain->paramMask  = NULL;
-    psMinConstrain *constrain = NULL;   // Constraints on the minimization
+    // psMinConstraint *constraint = psMinConstraintAlloc();
+    // constrain->checkLimits = pmShutterParamLimits;
+    // constrain->paramMask   = NULL;
+    psMinConstraint *constraint = NULL;   // Constraints on the minimization
 
     // XXX ignore covariance matrix for the moment
@@ -321,5 +319,5 @@
     }
 
-    if (!psMinimizeLMChi2(minInfo, covar, params, constrain, x, counts, cntError, pmShutterCorrectionModel)) {
+    if (!psMinimizeLMChi2(minInfo, covar, params, constraint, x, counts, cntError, pmShutterCorrectionModel)) {
         psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to fit for shutter correction.\n");
         psFree(x);
Index: /trunk/psModules/src/objects/pmModelGroup.h
===================================================================
--- /trunk/psModules/src/objects/pmModelGroup.h	(revision 10256)
+++ /trunk/psModules/src/objects/pmModelGroup.h	(revision 10257)
@@ -9,6 +9,6 @@
  *  @author EAM, IfA
  *
- *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-06-10 02:58:43 $
+ *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-11-29 02:36:07 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -21,4 +21,7 @@
 //  This function is the model chi-square minimization function for this model.
 typedef psMinimizeLMChi2Func pmModelFunc;
+
+//  This function is the model chi-square minimization function for this model.
+typedef psMinimizeLMLimitFunc pmModelLimits;
 
 // This function returns the integrated flux for the given model parameters.
@@ -32,5 +35,5 @@
 /*  This function sets the model parameter limits vectors for the given model
  */
-typedef bool (*pmModelLimits)(psVector **beta_lim, psVector **params_min, psVector **params_max);
+// typedef bool (*pmModelLimits)(psVector **beta_lim, psVector **params_min, psVector **params_max);
 
 /*  This function provides the model guess parameters based on the details of
