Changeset 11604:89a5fa18f2a6 in orange


Ignore:
Timestamp:
06/21/13 11:36:21 (10 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed a type check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/classification/svm/__init__.py

    r11423 r11604  
    601601        args = (bin_class_var, self.examples, all_sv, model) 
    602602 
    603         if isinstance(svm_classifier_type, _SVMClassifierSparse): 
     603        if issubclass(svm_classifier_type, _SVMClassifierSparse): 
    604604            args = args + (int(self.__wrapped.use_non_meta),) 
    605605 
Note: See TracChangeset for help on using the changeset viewer.