--- trunk/OOPSE/libmdtools/PRCG.cpp 2004/02/24 15:44:45 1064 +++ trunk/OOPSE/libmdtools/PRCG.cpp 2004/02/24 16:36:33 1066 @@ -13,6 +13,10 @@ int PRCGMinimizer::step(){ int PRCGMinimizer::step(){ int lsStatus; + prevF = curF; + prevG = curG; + prevX = curX; + //optimize along the search direction and reset minimum point value lsStatus = doLineSearch(direction, stepSize);