Ignore:
Timestamp:
Mar 19, 2009, 1:43:34 PM (16 years ago)
Author:
rwilson
Message:

Merged trunk into numpy, all tests and validations work.

File:
1 edited

Legend:

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

    r6533 r6553  
    32363236            volumes.append([v4,v3,v2]) #Lower element
    32373237
    3238     volumes = num.array(volumes)
     3238    volumes = num.array(volumes, num.int)      #array default#
    32393239
    32403240    if origin is None:
     
    41524152            volumes.append([v4,v2,v3]) #Lower element
    41534153
    4154     volumes = num.array(volumes)
     4154    volumes = num.array(volumes, num.int)      #array default#
    41554155
    41564156    geo_ref = Geo_reference(refzone, min(x), min(y))
     
    55715571    for i in range(len(quantities)):
    55725572        for file_in in files_in[i]:
    5573             if (os.access(file_in, os.F_OK) == 0):
     5573            if (os.access(file_in, os.R_OK) == 0):
    55745574                msg = 'File %s does not exist or is not accessible' % file_in
    55755575                raise IOError, msg
Note: See TracChangeset for help on using the changeset viewer.