Ignore:
Timestamp:
Jun 14, 2010, 8:56:00 PM (12 years ago)
Author:
steve
Message:

Moving channel code to numpy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/flow_1d/generic_1d/test_quantity.py

    r7827 r7830  
    473473
    474474        #Assert that quantities are conserved
    475         from Numeric import sum
    476475        for k in range(quantity.centroid_values.shape[0]):
    477476            assert allclose (quantity.centroid_values[k],
    478                              sum(quantity.vertex_values[k,:])/2.0)
     477                             numpy.sum(quantity.vertex_values[k,:])/2.0)
    479478
    480479
Note: See TracChangeset for help on using the changeset viewer.