Ignore:
Timestamp:
Oct 11, 2005, 3:22:39 PM (19 years ago)
Author:
ole
Message:

Comments and allow for duplicate timesteps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/least_squares.py

    r1891 r1894  
    966966        msg = 'Time must be a monotonuosly '
    967967        msg += 'increasing sequence %s' %time
    968         assert alltrue(time[1:] - time[:-1] > 0 ), msg
     968        assert alltrue(time[1:] - time[:-1] >= 0 ), msg
    969969
    970970
     
    10731073
    10741074    def __repr__(self):
    1075         #return 'Interpolation function (spation-temporal)'
     1075        #return 'Interpolation function (spatio-temporal)'
    10761076        return self.statistics()
    10771077   
     
    12111211
    12121212        str =  '------------------------------------------------\n'
    1213         str += 'Interpolation_function (spation-temporal) statistics:\n'
     1213        str += 'Interpolation_function (spatio-temporal) statistics:\n'
    12141214        str += '  Extent:\n'
    12151215        str += '    x in [%f, %f], len(x) == %d\n'\
Note: See TracChangeset for help on using the changeset viewer.