Changeset 7323


Ignore:
Timestamp:
Jul 27, 2009, 6:17:08 PM (15 years ago)
Author:
ole
Message:

Inequality fix in culvert_class.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/culvert_flows/culvert_class.py

    r7317 r7323  
    519519           
    520520        msg = 'Total energy difference is negative'
    521         assert delta_total_energy > 0.0, msg
     521        assert delta_total_energy >= 0.0, msg
    522522
    523523        # Recompute slope and issue warning if flow is uphill
Note: See TracChangeset for help on using the changeset viewer.