Changeset 847
- Timestamp:
- 12/12/15 11:35:11 (5 months ago)
- Location:
- mystic
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
mystic/_math/integrate.py
r776 r847 26 26 scipy = True 27 27 try: 28 from scipy.integrate import quad, dblquad, tplquad 28 import imp 29 imp.find_module('scipy') 29 30 except ImportError: 30 31 scipy = False -
mystic/mystic/_symbolic.py
r839 r847 313 313 if locals is None: locals = {} 314 314 try: 315 import imp 316 imp.find_module('sympy') 315 317 code = """from sympy import Eq, Symbol;""" 316 318 code += """from sympy import solve as symsol;""" … … 483 485 # if sympy not installed, return original constraints 484 486 try: 487 import imp 488 imp.find_module('sympy') 485 489 code = """from sympy import Eq, Symbol;""" 486 490 code += """from sympy import solve as symsol;""" -
mystic/mystic/search.py
r842 r847 86 86 bestSol = tuple(_solver.bestSolution) 87 87 bestRes = float(_solver.bestEnergy) 88 memo(*bestSol, out=l*bestRes) 88 memo(*bestSol, out=l*bestRes) #FIXME: python2.5 89 89 return memo 90 90
Note: See TracChangeset
for help on using the changeset viewer.