Changeset 98c972 in git


Ignore:
Timestamp:
Feb 21, 2012, 8:58:10 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
5c0183a7fbcc63348c4fbf0ae70d97f6d0fcb203
Parents:
227b7e3065d77cffc07256095d57a99efcf9d4a3
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-21 20:58:10+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-23 20:35:10+01:00
Message:
added component weights to the output of GetInducedData
File:
1 edited

Legend:

Unmodified
Added
Removed
  • dyn_modules/syzextra/mod_main.cc

    r227b7e r98c972  
    502502  const int iLimit = r->typ[pos].data.is.limit;
    503503  const ideal F = r->typ[pos].data.is.F;
     504  const intvec* componentWeights = r->typ[pos].data.is.componentWeights;
    504505  ideal FF = id_Copy(F, r);
    505506
    506507  lists l=(lists)omAllocBin(slists_bin);
    507   l->Init(2);
     508  l->Init(3);
    508509
    509510  l->m[0].rtyp = INT_CMD;
     
    524525    l->m[1].rtyp = IDEAL_CMD;
    525526
    526   l->m[1].data = reinterpret_cast<void *>(FF);       
     527  l->m[1].data = reinterpret_cast<void *>(FF);
     528
     529  l->m[2].rtyp = INTVEC_CMD;
     530 
     531  if( componentWeights != NULL )
     532    l->m[2].data = reinterpret_cast<void *>(new intvec(componentWeights));
     533  else
     534    l->m[2].data = reinterpret_cast<void *>(new intvec());
     535   
    527536
    528537
Note: See TracChangeset for help on using the changeset viewer.