Changeset 1053
- Timestamp:
- Mar 9, 2005, 7:29:59 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/util.py
r1043 r1053 16 16 v1 = v[0]/l 17 17 v2 = v[1]/l 18 19 theta = acos(v1) 18 19 try: 20 theta = acos(v1) 21 except ValueError, e: 22 print 'Angle acos(%s) failed: %s' %(str(v1), e) 20 23 21 24 if v2 < 0:
Note: See TracChangeset
for help on using the changeset viewer.