Index: trunk/psLib/test/dataManip/tst_psMinimize01.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMinimize01.c	(revision 1177)
+++ trunk/psLib/test/dataManip/tst_psMinimize01.c	(revision 1406)
@@ -44,9 +44,11 @@
     if (whichParamDeriv == 0) {
         tmp = exp(-lambda * x);
-    } else if (whichParamDeriv == 1) {
-        tmp = -x * A * exp(-lambda * x);
-    } else if (whichParamDeriv == 2) {
-        tmp = 1.0;
-    }
+    } else
+        if (whichParamDeriv == 1) {
+            tmp = -x * A * exp(-lambda * x);
+        } else
+            if (whichParamDeriv == 2) {
+                tmp = 1.0;
+            }
 
     //    printf("--------- myFuncDeriv((%.1f) %.1f %.1f %.1f, %d) is %.1f ---------\n",
