Index: trunk/psModules/src/detrend/pmShutterCorrection.c
===================================================================
--- trunk/psModules/src/detrend/pmShutterCorrection.c	(revision 10179)
+++ 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);
