Changeset 6161


Ignore:
Timestamp:
Jan 14, 2009, 2:58:45 PM (16 years ago)
Author:
rwilson
Message:

Changed num.array() calls that should have a defined type.

Location:
anuga_core/source/anuga/abstract_2d_finite_volumes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/abstract_2d_finite_volumes/ermapper_grids.py

    r6145 r6161  
    2222    ofile:      string - filename for output (note the output will consist of two files
    2323                ofile and ofile.ers.  Either of these can be entered into this function
    24     data:       num.array - 2D array containing the data to be output to the grid
     24    data:       array - 2D array containing the data to be output to the grid
    2525    header:     dictionary - contains spatial information about the grid, in particular:
    2626                    header['datum'] datum for the data ('"GDA94"')
  • anuga_core/source/anuga/abstract_2d_finite_volumes/general_mesh.py

    r6145 r6161  
    449449                triangle_list.append( (volume_id, vertex_id) )
    450450
    451             triangle_list = num.array(triangle_list)   
     451            triangle_list = num.array(triangle_list, num.Int)    #array default#
    452452        else:
    453453            # Get info for all nodes recursively.
Note: See TracChangeset for help on using the changeset viewer.