Index: trunk/psModules/src/detrend/pmNonLinear.c
===================================================================
--- trunk/psModules/src/detrend/pmNonLinear.c	(revision 29833)
+++ trunk/psModules/src/detrend/pmNonLinear.c	(revision 29935)
@@ -332,7 +332,4 @@
 	return(0.0);
     }
-/*     if (flux > correction_fluxes->data.F32[bin]) { */
-/* 	return(0.0); */
-/*     } */
   
     for (int i = 0; i < correction_fluxes->n - 1; i++) {
@@ -347,16 +344,7 @@
     }
 
-/*   PS_BIN_FOR_VALUE(bin,correction_fluxes,flux); */
-/*   if ((bin < 0)||(bin > correction_fluxes->n)) { */
-/*     return(1.0); */
-/*   } */
-  
-/*   PS_BIN_INTERPOLATE(result,correction_fluxes,correction_factors,bin,flux); */
     if (!isfinite(result)) {
 	result = 0.0;
     }
-/*     if (result <= 0) { */
-/* 	result = 1.0; */
-/*     } */
     return(result);
 }
@@ -372,7 +360,4 @@
 	return(0.0);
     }
-/*     if (flux > correction_fluxes->data.F32[bin]) { */
-/* 	return(0.0); */
-/*     } */
 
     for (int i = 0; i < correction_fluxes->n - 1; i++) {
@@ -389,19 +374,7 @@
     }
 
-/*   PS_BIN_FOR_VALUE(bin,correction_fluxes,flux); */
-/*   if ((bin < 0)||(bin > correction_fluxes->n)) { */
-/*     return(1.0); */
-/*   } */
-  
-/*   PS_BIN_INTERPOLATE(result,correction_fluxes,correction_factors,bin,flux); */
     if (!isfinite(result)) {
 	result = 0.0;
     }
-/*     if (result <= 0) { */
-/* 	result = 1.0; */
-/*     } */
     return(result);
 }
-
-  
-  
