Changeset 5953


Ignore:
Timestamp:
Nov 12, 2008, 3:46:49 PM (14 years ago)
Author:
rwilson
Message:

Made the polygon internal error routine dump some state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/utilities/polygon.py

    r5942 r5953  
    5757
    5858# this function called when an impossible state is found
    59 def lines_error(p1, p2, p3, p4): raise RuntimeError, "INTERNAL ERROR"
     59def 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)))
    6061
    6162#                     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.