Changeset 336


Ignore:
Timestamp:
07/20/10 17:34:31 (6 years ago)
Author:
mmckerns
Message:

changed default chisq to numpy.inf; added text about Windows installation

Location:
mystic/mystic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mystic/mystic/__init__.py

    r335 r336  
    8686    [download] 
    8787    $ easy_install -f . mystic 
     88 
     89For Windows users, source code and examples are available in zip format. 
     90A binary installer is also provided:: 
     91    [download] 
     92    [double-click] 
    8893 
    8994 
  • mystic/mystic/abstract_solver.py

    r296 r336  
    7474 
    7575import numpy 
    76 from numpy import shape, asarray, absolute, asfarray 
     76from numpy import inf, shape, asarray, absolute, asfarray 
    7777 
    7878abs = absolute 
     
    114114        self.id               = None     # identifier (use like "rank" for MPI) 
    115115 
    116         self._init_popEnergy  = 1.0E20 #XXX: or numpy.inf? 
     116        self._init_popEnergy  = inf 
    117117        self.popEnergy        = [self._init_popEnergy] * NP 
    118118        self.population       = [[0.0 for i in range(dim)] for j in range(NP)] 
Note: See TracChangeset for help on using the changeset viewer.