/[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 4007 by caltinay, Tue Oct 2 02:12:01 2012 UTC revision 4040 by jfenwick, Sun Oct 28 22:37:45 2012 UTC
# Line 33  except: Line 33  except:
33      sqrt=np.sqrt      sqrt=np.sqrt
34      EPSILON=1e-18      EPSILON=1e-18
35    
36    import sys
37    if sys.version_info[0]>2:
38        xrange=range
39        
40  lslogger=logging.getLogger('inv.minimizer.linesearch')  lslogger=logging.getLogger('inv.minimizer.linesearch')
41  zoomlogger=logging.getLogger('inv.minimizer.linesearch.zoom')  zoomlogger=logging.getLogger('inv.minimizer.linesearch.zoom')
42    

Legend:
Removed from v.4007  
changed lines
  Added in v.4040

  ViewVC Help
Powered by ViewVC 1.1.26