Changeset 9091:12ae833fe032 in orange


Ignore:
Timestamp:
10/11/11 12:12:17 (3 years ago)
Author:
matija <matija.polajnar@…>
Branch:
default
Convert:
e917400e231f869ea4f8162fd59d77fc7cf76812
Message:

Bugfix: OWDistanceMap sent too much instances to its output when ordering (clustering) was enabled. The correct instances were sent, and along with them the same amount of erroneous ones.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Unsupervised/OWDistanceMap.py

    r8042 r9091  
    330330            for i in tmp: 
    331331                if self.distanceMapConstructor.order: 
    332                     if not (self.distanceMapConstructor.order[i] in selectedIndices): 
    333                         selectedIndices += [self.distanceMapConstructor.order[i]] 
     332                    i = self.distanceMapConstructor.order[i] 
    334333 
    335334                if not (i in selectedIndices): 
Note: See TracChangeset for help on using the changeset viewer.