Changeset 5953
- Timestamp:
- Nov 12, 2008, 3:46:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/utilities/polygon.py
r5942 r5953 57 57 58 58 # this function called when an impossible state is found 59 def lines_error(p1, p2, p3, p4): raise RuntimeError, "INTERNAL ERROR" 59 def lines_error(p1, p2, p3, p4): raise RuntimeError, ("INTERNAL ERROR: p1=%s, p2=%s, p3=%s, p4=%s" % 60 (str(p1), str(p2), str(p3), str(p4))) 60 61 61 62 # 0s1 0e1 1s0 1e0 # line 0 starts on 1, 0 ends 1, 1 starts 0, 1 ends 0
Note: See TracChangeset
for help on using the changeset viewer.