Ignore:
Timestamp:
Aug 31, 2005, 3:15:42 PM (19 years ago)
Author:
ole
Message:

Better output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/least_squares.py

    r1741 r1787  
    263263                 triangles,
    264264                 point_coordinates = None,
    265                  alpha = DEFAULT_ALPHA,
     265                 alpha = None,
    266266                 verbose = False,
    267267                 expand_search = True,
     
    327327
    328328        #Smoothing parameter
    329         self.alpha = alpha
     329        if alpha is None:
     330            self.alpha = DEFAULT_ALPHA
     331        else:   
     332            self.alpha = alpha
    330333
    331334        #Build coefficient matrices
Note: See TracChangeset for help on using the changeset viewer.