Changeset 7174
- Timestamp:
- Jun 10, 2009, 2:43:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/numpy/anuga/utilities/numerical_tools.py
r7035 r7174 9 9 import numpy as num 10 10 11 #After having migrated to numpy we should use the native NAN. 12 #num.seterr(divide='warn') 13 num.seterr(divide='ignore') # Ignore division error here for the time being 11 14 NAN = (num.array([1])/0.)[0] 12 # if we use a package that has NAN, this should be updated to use NAN.13 15 14 16 # Static variable used by get_machine_precision
Note: See TracChangeset
for help on using the changeset viewer.