Changeset 1ed346 in git for kernel/syz1.cc


Ignore:
Timestamp:
Mar 15, 2011, 7:17:46 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
e9c3b29fc2ccfc0e5b778e8460f2dca4275e666e
Parents:
273fed0aea0c3cb00dc08f02c5d5340a2a781f23
Message:
FIX: correct assumes for ringorder_S/ro_syzcomp due to rCurrRingAssure_dp_S for syLaScala3
TODO: LaScala is broken for K[x] (single variable, since dp will be left out)

From: Oleksandr Motsak <motsak@mathematik.uni-kl.de>

git-svn-id: file:///usr/local/Singular/svn/trunk@13977 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/syz1.cc

    r273fed r1ed346  
    16401640    if ((syzstr->syRing != NULL) && (syzstr->syRing != r))
    16411641    {
     1642      rNChangeSComps(NULL, NULL, syzstr->syRing);
    16421643      rKill(syzstr->syRing);
    16431644    }
     
    25942595  syzstr->syRing = rCurrRingAssure_dp_S();
    25952596  assume(syzstr->syRing != origR);
     2597  assume(syzstr->syRing->typ[1].ord_typ == ro_syzcomp); 
     2598
    25962599
    25972600  // set initial ShiftedComps
     
    26222625  omFreeSize((ADDRESS)currcomponents,(arg->rank+1)*sizeof(int));
    26232626  omFreeSize((ADDRESS)currShiftedComponents,(arg->rank+1)*sizeof(long));
     2627 
    26242628  syzstr->res = (resolvente)omAlloc0((maxlength+1)*sizeof(ideal));
    26252629  syzstr->orderedRes = (resolvente)omAlloc0((maxlength+1)*sizeof(ideal));
    26262630  syzstr->elemLength = (int**)omAlloc0((maxlength+1)*sizeof(int*));
     2631
    26272632  syzstr->truecomponents = (int**)omAlloc0((maxlength+1)*sizeof(int*));
    26282633  syzstr->ShiftedComponents = (long**)omAlloc0((maxlength+1)*sizeof(long*));
     2634
    26292635  syzstr->backcomponents = (int**)omAlloc0((maxlength+1)*sizeof(int*));
    26302636  syzstr->Howmuch = (int**)omAlloc0((maxlength+1)*sizeof(int*));
    26312637  syzstr->Firstelem = (int**)omAlloc0((maxlength+1)*sizeof(int*));
    26322638  syzstr->sev = (unsigned long **) omAlloc0((maxlength+1)*sizeof(unsigned long *));
     2639
     2640  assume( syzstr->length == maxlength );
     2641 
    26332642  syzstr->bucket = kBucketCreate();
    26342643  int len0=idRankFreeModule(temp)+1;
Note: See TracChangeset for help on using the changeset viewer.