Changeset 336
- Timestamp:
- 07/20/10 17:34:31 (6 years ago)
- Location:
- mystic/mystic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
mystic/mystic/__init__.py
r335 r336 86 86 [download] 87 87 $ easy_install -f . mystic 88 89 For Windows users, source code and examples are available in zip format. 90 A binary installer is also provided:: 91 [download] 92 [double-click] 88 93 89 94 -
mystic/mystic/abstract_solver.py
r296 r336 74 74 75 75 import numpy 76 from numpy import shape, asarray, absolute, asfarray76 from numpy import inf, shape, asarray, absolute, asfarray 77 77 78 78 abs = absolute … … 114 114 self.id = None # identifier (use like "rank" for MPI) 115 115 116 self._init_popEnergy = 1.0E20 #XXX: or numpy.inf?116 self._init_popEnergy = inf 117 117 self.popEnergy = [self._init_popEnergy] * NP 118 118 self.population = [[0.0 for i in range(dim)] for j in range(NP)]
Note: See TracChangeset
for help on using the changeset viewer.