Ignore:
Timestamp:
Jun 12, 2009, 10:28:57 AM (16 years ago)
Author:
rwilson
Message:

Back-merge from Numeric trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy/anuga/shallow_water/shallow_water_domain.py

    r7176 r7193  
    18011801    """
    18021802
    1803     import Numeric as num
     1803    import numpy as num
    18041804   
    18051805    # Create a temp array to store updated depth dependent friction for wet elements
    18061806    # EHR this is outwardly inneficient but not obvious how to avoid recreating each call??????
    18071807    N=len(domain)
    1808     wet_friction    = num.zeros(N, num.Float)
     1808    wet_friction    = num.zeros(N, num.float)
    18091809    wet_friction[:] = default_n0   # Initially assign default_n0 to all array so sure have no zeros values
    18101810   
Note: See TracChangeset for help on using the changeset viewer.