Changeset 2314 for inundation/pyvolution/util.py
- Timestamp:
- Feb 1, 2006, 3:27:53 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/util.py
r2074 r2314 509 509 will be evaluated by expression. 510 510 Values in dictionary must support operators given in 511 expression e.g. by overloading 511 expression e.g. by overloading 512 513 due to a limitation with Numeric, this can not evaluate 0/0 514 In general, the user can fix by adding 1e-30 to the numerator. 515 SciPy core can handle this situation. 512 516 """ 513 517 … … 532 536 msg = 'Expression "%s" could not be evaluated: %s' %(expression, e) 533 537 raise NameError, msg 538 except ValueError, e: 539 msg = 'Expression "%s" could not be evaluated: %s' %(expression, e) 540 raise ValueError, msg 534 541 535 542
Note: See TracChangeset
for help on using the changeset viewer.