Changeset 22273


Ignore:
Timestamp:
11/22/17 13:29:06 (7 years ago)
Author:
kruegern
Message:

FIX: minor change to WriteData.py broke some stuff. Fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/solve/WriteData.py

    r22272 r22273  
    4545                scale = options.getfieldvalue('scale')
    4646                if np.size(data) > 1 and np.ndim(data) > 1 and np.size(data,0)==timeserieslength:
    47                         data[0:-2,:] = scale*data[0:-2,:]
     47                        data[0:-1,:] = scale*data[0:-1,:]
    4848                else:
    4949                        data  = scale*data
Note: See TracChangeset for help on using the changeset viewer.