Index: /trunk/psLib/src/dataManip/psMinimize.c
===================================================================
--- /trunk/psLib/src/dataManip/psMinimize.c	(revision 3988)
+++ /trunk/psLib/src/dataManip/psMinimize.c	(revision 3989)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.117 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-05-19 05:18:20 $
+ *  @version $Revision: 1.118 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-05-19 23:52:19 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -2056,4 +2056,6 @@
             // XXX: Ensure that currFuncVal is the correct value to use here.
             min->value = currFuncVal;
+            // XXX: ensure that the lastDelta should be 0.0.
+            min->lastDelta = 0.0;
             psTrace(".psLib.dataManip.psMinimizePowell", 4,
                     "---- psMinimizePowell() end (1)(true) ----\n");
@@ -2095,4 +2097,5 @@
             min->value = currFuncVal;
             min->iter = iterationNumber;
+            min->lastDelta = currFuncVal - baseFuncVal;
             psTrace(".psLib.dataManip.psMinimizePowell", 4,
                     "---- psMinimizePowell() end (2) (true) ----\n");
Index: /trunk/psLib/src/math/psMinimize.c
===================================================================
--- /trunk/psLib/src/math/psMinimize.c	(revision 3988)
+++ /trunk/psLib/src/math/psMinimize.c	(revision 3989)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.117 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-05-19 05:18:20 $
+ *  @version $Revision: 1.118 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-05-19 23:52:19 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -2056,4 +2056,6 @@
             // XXX: Ensure that currFuncVal is the correct value to use here.
             min->value = currFuncVal;
+            // XXX: ensure that the lastDelta should be 0.0.
+            min->lastDelta = 0.0;
             psTrace(".psLib.dataManip.psMinimizePowell", 4,
                     "---- psMinimizePowell() end (1)(true) ----\n");
@@ -2095,4 +2097,5 @@
             min->value = currFuncVal;
             min->iter = iterationNumber;
+            min->lastDelta = currFuncVal - baseFuncVal;
             psTrace(".psLib.dataManip.psMinimizePowell", 4,
                     "---- psMinimizePowell() end (2) (true) ----\n");
