Ignore:
Timestamp:
Sep 8, 2009, 12:48:30 PM (15 years ago)
Author:
ole
Message:

Tighter tolerance in allclose for volumetric check (Stephen Roberts)

File:
1 edited

Legend:

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

    r7496 r7497  
    792792            msg = ('Total volume has changed: Is %.8f m^3 should have been %.8f m^3'
    793793                   % (new_volume, ref_volume))
    794             assert num.allclose(new_volume, ref_volume), msg       
     794            assert num.allclose(new_volume, ref_volume, rtol=1.0e-10), msg       
    795795       
    796796
Note: See TracChangeset for help on using the changeset viewer.