Ignore:
Timestamp:
Mar 27, 2006, 3:49:00 PM (18 years ago)
Author:
ole
Message:

Played with custom exceptions for ANUGA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation-numpy-branch/pyvolution/test_domain.py

    r2491 r2608  
    66from domain import *
    77from config import epsilon
    8 from Numeric import allclose, array, ones, Float
     8from numpy import allclose, array, zeros, ones, Float
    99
    1010
     
    6464
    6565
    66         assert domain.get_conserved_quantities(0, edge=1) == 0.
     66        assert (domain.get_conserved_quantities(0, edge=1) == 0.).all()
    6767
    6868
     
    495495        from mesh_factory import rectangular
    496496        from shallow_water import Domain
    497         from Numeric import zeros, Float
    498497
    499498        #Create basic mesh
Note: See TracChangeset for help on using the changeset viewer.