Changeset 859


Ignore:
Timestamp:
03/29/16 14:27:38 (7 weeks ago)
Author:
mmckerns
Message:

fix: raise error when scipy.stats instance used to set population of ensemble

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mystic/mystic/abstract_ensemble_solver.py

    r855 r859  
    191191        raise NotImplementedError, "must be overwritten..." 
    192192 
    193     def SetMultinormalInitialPoints(self, mean, var = None): 
     193    def SetMultinormalInitialPoints(self, mean, var=None): 
    194194        """Generate Initial Points from Multivariate Normal. 
    195195 
     
    200200        scalar: -> var becomes scalar * I 
    201201        matrix: -> the variance matrix. must be the right size! 
     202 
     203*** this method must be overwritten ***""" 
     204        raise NotImplementedError, "must be overwritten..." 
     205 
     206    def SetDistributionInitialPoints(self, dist): 
     207        """Generate Random Initial Points from Distribution (dist) 
     208 
     209input:: 
     210    - dist: a scipy.stats distribution instance 
    202211 
    203212*** this method must be overwritten ***""" 
Note: See TracChangeset for help on using the changeset viewer.