Changeset 8125 for trunk/anuga_core/source/anuga/shallow_water/forcing.py
- Timestamp:
- Mar 4, 2011, 2:34:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/shallow_water/forcing.py
r8124 r8125 16 16 from anuga.geometry.polygon import is_inside_polygon, inside_polygon, \ 17 17 polygon_area 18 from types import IntType, FloatType19 18 from anuga.geospatial_data.geospatial_data import ensure_geospatial 20 19 … … 408 407 'or a function of time.\nI got %s.' % str(default_rate)) 409 408 assert (default_rate is None or 410 type(default_rate) in [IntType, FloatType]or409 isinstance(default_rate, (int, float)) or 411 410 callable(default_rate)), msg 412 411
Note: See TracChangeset
for help on using the changeset viewer.