Changeset 7856:d44d0e560698 in orange


Ignore:
Timestamp:
04/18/11 11:06:11 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
5dc48a7a541c03c84de54fd1ed6648cc9df8ae35
Message:

Fixed a test array for an empty array.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/OWHist.py

    r7813 r7856  
    5757         
    5858    def setBoundary(self, lower, upper): 
    59         if not self.xData and not self.yData: 
     59        if len(self.xData) == 0 and len(self.yData) == 0: 
    6060            return 
    6161         
Note: See TracChangeset for help on using the changeset viewer.