/[escript]/trunk/downunder/py_src/minimizers.py
ViewVC logotype

Diff of /trunk/downunder/py_src/minimizers.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4433 by jfenwick, Fri May 17 02:32:33 2013 UTC revision 4434 by caltinay, Mon Jun 3 00:43:29 2013 UTC
# Line 314  class MinimizerLBFGS(AbstractMinimizer): Line 314  class MinimizerLBFGS(AbstractMinimizer):
314          converged = False          converged = False
315          args=self.getCostFunction().getArguments(x)          args=self.getCostFunction().getArguments(x)
316          g_Jx=self.getCostFunction().getGradient(x, *args)          g_Jx=self.getCostFunction().getGradient(x, *args)
317          Jx=self.getCostFunction()(x, *args) # equivalent to getValue() for Downunder CostFunctions          Jx=self.getCostFunction()(x, *args) # equivalent to getValue() for Downunder CostFunctions
318          Jx_0=Jx          Jx_0=Jx
319    
320          while not converged and not non_curable_break_down and n_iter < self._imax:          while not converged and not non_curable_break_down and n_iter < self._imax:

Legend:
Removed from v.4433  
changed lines
  Added in v.4434

  ViewVC Help
Powered by ViewVC 1.1.26