Changeset 6e28802 in git


Ignore:
Timestamp:
Aug 24, 2016, 5:18:54 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
f5e732af7572071c189ad8185ce830f96ababa46
Parents:
84963dfd52839fd9d4215c5d5b0534e80417dfad
Message:
opt: use id_Delete in syz1.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/syz1.cc

    r84963d r6e28802  
    15101510        if (syzstr->minres[i]!=NULL)
    15111511        {
    1512           for (j=0;j<IDELEMS(syzstr->minres[i]);j++)
    1513           {
    1514             if (syzstr->minres[i]->m[j]!=NULL)
    1515               p_Delete(&(syzstr->minres[i]->m[j]),r);
    1516           }
    15171512          id_Delete(&(syzstr->minres[i]),r);
    15181513        }
     
    15261521        if (syzstr->fullres[i]!=NULL)
    15271522        {
    1528           for (j=0;j<IDELEMS(syzstr->fullres[i]);j++)
    1529           {
    1530             if (syzstr->fullres[i]->m[j]!=NULL)
    1531               p_Delete(&(syzstr->fullres[i]->m[j]),r);
    1532           }
    15331523          id_Delete(&(syzstr->fullres[i]),r);
    15341524        }
     
    15681558            syzstr->orderedRes[i]->m[j] = NULL;
    15691559          }
    1570         }
    1571         id_Delete(&(syzstr->orderedRes[i]),sr);
     1560          id_Delete(&(syzstr->orderedRes[i]),sr);
     1561        }
    15721562        if (syzstr->truecomponents[i]!=NULL)
    15731563        {
     
    18271817  if ((result!=NULL)
    18281818  && ((minim) || (syzstr->resPairs!=NULL))
    1829   && std_weights)
     1819  && std_weights
     1820  && (syzstr->betti==NULL))
    18301821  {
    18311822    syzstr->betti = ivCopy(result); // cache the result...
     
    20372028  if (syzstr->minres==NULL)
    20382029  {
    2039     PrintS("resolution not minimized yet");
    2040     PrintLn();
     2030    PrintS("resolution not minimized yet\n");
    20412031  }
    20422032
Note: See TracChangeset for help on using the changeset viewer.