Changeset 6493


Ignore:
Timestamp:
Mar 11, 2009, 4:25:34 PM (16 years ago)
Author:
duncan
Message:

bug fix, ticket#314

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/fit_interpolate/fit.py

    r6488 r6493  
    317317                raise RuntimeError, msg
    318318               
    319             self.AtA = AtA
     319        self.AtA = AtA
    320320
    321321       
     
    338338         
    339339        """
    340        
    341340        # Use blocking to load in the point info
    342341        if type(point_coordinates_or_filename) == types.StringType:
     
    344343            assert point_origin is None, msg
    345344            filename = point_coordinates_or_filename
    346 
    347345            G_data = Geospatial_data(filename,
    348346                                     max_read_lines=max_read_lines,
     
    387385        if point_coordinates is None:
    388386            if verbose: print 'Warning: no data points in fit'
    389             msg = 'No interpolation matrix'
     387            msg = 'No interpolation matrix.'
    390388            assert self.AtA is not None, msg
    391389            assert self.Atz is not None
     
    464462        point_coordinates = ensure_numeric(point_coordinates, num.Float)
    465463        self._build_matrix_AtA_Atz(point_coordinates, z, verbose)
    466 
     464       
    467465
    468466############################################################################
Note: See TracChangeset for help on using the changeset viewer.