Show
Ignore:
Timestamp:
05/06/11 16:25:00 (13 years ago)
Author:
sindj
Message:

Opravena chyba s uvolnovanim pameti pri ruseni ve for_merging poli a dalsi drobne nedostatky. JS

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/robust/robustlib.cpp

    r1349 r1357  
    169169                                                        base_ref++; 
    170170 
    171                                                         if(base_ref == simplex->vertices.end()) 
     171                                                        if(base_ref == simplex->vertices.end()&&simplex->vertices.size()!=2) 
    172172                                                        { 
    173173                                                                throw new exception("Equal local conditions are paired. If this ever occurs, the software has to be modified to include multiplied a_0!!"); 
    174174                                                        } 
     175                                                        /* 
     176                                                        else if(implex->vertices.size()==2) 
     177                                                        { 
     178                                                                return relative_coords[0]*exp 
     179                                                        } 
     180                                                        */ 
    175181                                                         
    176182                                                        order_correct = false;