Ignore:
Timestamp:
08/16/13 14:33:59 (8 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed comparison of Orange.data.Instance when the domain is empty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/examples.cpp

    r10596 r11661  
    341341{ if (domain != other.domain) 
    342342    raiseError("examples are from different domains"); 
    343  
    344343  int Na = domain->variables->size(); 
    345344  if (ignoreClass) { 
     
    352351  } 
    353352  if (!Na) 
    354     return true; 
     353    return 0; 
    355354 
    356355  const_iterator i1(begin()), i2(other.begin()); 
Note: See TracChangeset for help on using the changeset viewer.