1. biolab
  2. Untitled project
  3. orange

Source

orange / source / orange / examples.cpp

Diff from to

File source/orange/examples.cpp

  • Ignore whitespace
 int TExample::compare(const TExample &other, const bool ignoreClass) const
 { if (domain != other.domain)
     raiseError("examples are from different domains");
-
   int Na = domain->variables->size();
   if (ignoreClass) {
       if (domain->classVar) {
       Na += domain->classVars->size();
   }
   if (!Na)
-    return true;
+    return 0;
 
   const_iterator i1(begin()), i2(other.begin());
   int comp;