Changeset 10952:bd8e4d8e590b in orange


Ignore:
Timestamp:
07/18/12 16:21:21 (21 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Return an error code if trying to delete the intercept in EvalSubsetsUsingXtx.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/earth.cpp

    r8920 r10952  
    25632563            } 
    25642564        } 
    2565         ASSERT(iDelete > 0); 
     2565        //ASSERT(iDelete > 0); 
     2566        if (iDelete < 1) 
     2567        { 
     2568            // Trying to delete the intercept. 
     2569            error_code = 2; 
     2570            break; 
     2571        } 
    25662572        WorkingSet[iDelete] = false; 
    25672573    } 
Note: See TracChangeset for help on using the changeset viewer.