Changeset 7375:22da5f00906b in orange


Ignore:
Timestamp:
02/04/11 00:49:44 (3 years ago)
Author:
anze <anze.staric@…>
Branch:
default
Convert:
a17d28bfcf70822dabd91bf61bb9f20b7ba60a65
Message:

Fixed NULL pointer exception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/classification/bayes.py

    r7371 r7375  
    236236        if self.conditionalEstimatorConstructor: 
    237237            bayes.conditionalEstimatorConstructor = self.conditionalEstimatorConstructor 
    238         else: 
     238        elif bayes.estimatorConstructor: 
    239239            bayes.conditionalEstimatorConstructor = Orange.core.ConditionalProbabilityEstimatorConstructor_ByRows() 
    240240            bayes.conditionalEstimatorConstructor.estimatorConstructor=bayes.estimatorConstructor 
Note: See TracChangeset for help on using the changeset viewer.