Changeset d25e3f in git


Ignore:
Timestamp:
Jul 18, 2018, 1:14:33 PM (5 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
cebb9879c2629291abb5ffeb202af73fa0749eb3
Parents:
55b29ffa7e5ceaaf5e8681e442c601fdf88fd855
Message:
std(I,p)
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r55b29f rd25e3f  
    21762176      // Allow imap/fetch to be make an exception only for:
    21772177      if (nCoeff_is_Extension(r->cf) &&  // Q(a..) -> Q(a..) || Q || Zp || Zp(a)
    2178          ((n_SetMap(r->cf->extRing->cf,currRing->cf)!=NULL) 
    2179         || (nCoeff_is_Extension(currRing->cf) && (n_SetMap(r->cf->extRing->cf,currRing->cf->extRing->cf)!=NULL))))
     2178         ((n_SetMap(r->cf->extRing->cf,currRing->cf)!=NULL)
     2179        || (nCoeff_is_Extension(currRing->cf) && (n_SetMap(r->cf->extRing->cf,currRing->cf->extRing->cf)!=NULL))))
    21802180      {
    21812181        par_perm_size=rPar(r);
     
    32963296  assumeStdFlag(u);
    32973297  ideal i1=(ideal)(u->Data());
     3298  int ii1=idElem(i1); /* size of i1 */
    32983299  ideal i0;
    32993300  int r=v->Typ();
    33003301  if ((/*v->Typ()*/r==POLY_CMD) ||(r==VECTOR_CMD))
    33013302  {
    3302     i0=idInit(1,i1->rank); // TODO: rank is wrong (if v is a vector!)
    3303     i0->m[0]=(poly)v->Data();
    3304     int ii0=idElem(i0); /* size of i0 */
     3303    poly p=(poly)v->Data();
     3304    i0=idInit(1,i1->rank);
     3305    i0->m[0]=p;
    33053306    i1=idSimpleAdd(i1,i0); //
    33063307    memset(i0->m,0,sizeof(poly)*IDELEMS(i0));
     
    33263327    SI_SAVE_OPT1(save1);
    33273328    si_opt_1|=Sy_bit(OPT_SB_1);
    3328     /* ii0 appears to be the position of the first element of il that
     3329    /* ii1 appears to be the position of the first element of il that
    33293330       does not belong to the old SB ideal */
    3330     result=kStd(i1,currRing->qideal,hom,&w,NULL,0,ii0);
     3331    result=kStd(i1,currRing->qideal,hom,&w,NULL,0,ii1);
    33313332    SI_RESTORE_OPT1(save1);
    33323333    idDelete(&i1);
     
    33383339  {
    33393340    i0=(ideal)v->CopyD();
    3340     int ii0=idElem(i0); /* size of i0 */
    33413341    i1=idSimpleAdd(i1,i0); //
    33423342    memset(i0->m,0,sizeof(poly)*IDELEMS(i0));
     
    33593359      }
    33603360    }
    3361     if (ii0*4 >= 3*IDELEMS(i1)) // MAGIC: add few poly to large SB: 3/4
    3362     {
    3363       BITSET save1;
    3364       SI_SAVE_OPT1(save1);
    3365       si_opt_1|=Sy_bit(OPT_SB_1);
    3366       /* ii0 appears to be the position of the first element of il that
    3367        does not belong to the old SB ideal */
    3368       result=kStd(i1,currRing->qideal,hom,&w,NULL,0,ii0);
    3369       SI_RESTORE_OPT1(save1);
    3370     }
    3371     else
    3372     {
    3373       result=kStd(i1,currRing->qideal,hom,&w);
    3374     }
     3361    BITSET save1;
     3362    SI_SAVE_OPT1(save1);
     3363    si_opt_1|=Sy_bit(OPT_SB_1);
     3364    /* ii1 appears to be the position of the first element of i1 that
     3365     does not belong to the old SB ideal */
     3366    result=kStd(i1,currRing->qideal,hom,&w,NULL,0,ii1);
     3367    SI_RESTORE_OPT1(save1);
    33753368    idDelete(&i1);
    33763369    idSkipZeroes(result);
     
    69156908      // Allow imap/fetch to be make an exception only for:
    69166909      if (nCoeff_is_Extension(r->cf) &&  // Q(a..) -> Q(a..) || Q || Zp || Zp(a)
    6917          ((n_SetMap(r->cf->extRing->cf,currRing->cf)!=NULL) 
    6918         || (nCoeff_is_Extension(currRing->cf) && (n_SetMap(r->cf->extRing->cf,currRing->cf->extRing->cf)!=NULL))))
     6910         ((n_SetMap(r->cf->extRing->cf,currRing->cf)!=NULL)
     6911        || (nCoeff_is_Extension(currRing->cf) && (n_SetMap(r->cf->extRing->cf,currRing->cf->extRing->cf)!=NULL))))
    69196912      {
    69206913        par_perm_size=rPar(r);
  • Tst/Short/bug_tr224.res.gz.uu

    r55b29f rd25e3f  
    11begin 640 bug_tr224.res.gz
    2 M'XL("*=C15@``V)U9U]T<C(R-"YR97,`[5C;3MM`$'W/5XRJ/NP2.WC7ZUR%
    3 M'Z"J%*D@1/I$U5BY&+!*;.1U2M6O[^SZ3DR4DE2`5%O:R^S,V9TSGK&3R==/
    4 MXPL`8"Y\&9_"AT0FG?M@_F'4FF0KW`44>D$8)(2.6JH'UX7Y^M9+8LY%)_0?
    5 M.S*9)86%[4(Q%AV(@_`6KN`$"*<&F7O<$X9J'6R%QWK&0G5]8^8QST(9\QB*
    6 MF,=Q;'L#W3(+3<\)-[@A\&;ZMO&V]&VR:F?5I0TK!Q%N%5/CC)8<.BY<C5K'
    7 MQ["(_)N;8!'X82*'<'U]S)4T7*_F?@S1#?R<Q1*&,%#2[)K?1XL?*D(HC^*E
    8 MK^D\KRB4UQ#"V<J7VDK1K%L'4IHAI1DTS:!I!DTS:)HAI?D9W$<_N+U+9#;G
    9 MM4[4.M;4V5FW$[K5T)EL!^&+T;=M\E?HVQ'V1=_IF/NBOV"3PT;U8.@[[74@
    10 M]&?V:DAC7DWCLZ)"=%V('I(@"LE#'"65TM%S(5CZLWL88P65R9+H&=%9/.5I
    11 MT3Q*BZ;.^:.\C&+F9^-<1Q73<LRLS$`;3WE;SZ8\K<"I>CO7**MU!5]L*A4G
    12 MT:IZHI>=*:_,1,,!,E&QK@"JR-/L=9`?M"ZM6CM5:V=J9R^0S-#9W`YUMFS;
    13 M3NMF3E/I6^YZZMLF$9F'A7:Q&V^:-EGG(:ES4SU/AI_[-A5/4$IW-,J3:>I?
    14 M/D]Q*3Y[WQCO#9GUG1/6HY*P+I4V88X:"BH%8;8:<M4P*M4:IZ9C2C)0(DNK
    15 MH,3LFJF&-M-8N#"@MFD*$QO3["D%1XO["D&8*,>F;TI'[:+5A);9Q:+9PA19
    16 MKA<)+.(@P42*PF&?P^)N%H05$7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'7DB;T.BH6N2^O6O&[-)[Z]0*PAWYQ.ZFR9MFWR
     13M9D%3Y5OANO%MDPCK8:E=SD:;NDW6Q9:L<U-?C\4O?)NP)RB5.QKE2=?X5_0-
     14M+I9G[SNAO2'Q?E!$>E@@TL7"1X2K)L."(>*K)E4%P4*-4>QR5Z"!$GE:14K<
     15MKFLTM)G&D@,#[+LN<V7ANCVEP+6XKQ"8*^6RZ+N"JUFT&M,ROQQT6S)$%JMY
     16M#O,LSF4@I<FP3V%^-XV3FHCP,H;Z10Q=RABR^PAM<SLZ1N#8Z]$Q=V(5?X,`
     17M1/PG0A=?D(J^,^<2.Z:ARDN,ZX01U,>"HI[T7;+"55OZI3FQKNB'-[E`/+;A
     18M@U=#5IQ+RJE@HL&ZN\66*EO?E8O15/>QOW4A`]Z`A<9#N7/9YM/R"JJ(]Y0J
     19MRY!3$+=.U<<Z]'Y;M@M5I/I$)K0#RVF>Q;_+`X:/C]<DQ4G['PX:*7F1OQ&+
     20M>%F1\I[>5SO#ZK,V$?^Q]%0+Y>470Q8MQB?5)P.1WQ+O>*#4\99#&\\;3YJ$
     21F]7$SS*LY?<%2_W$6>[5X[7?T#['ZY5U)@O#H4^LO)E_^O$8/````
    2322`
    2423end
  • Tst/Short/bug_tr224.stat

    r55b29f rd25e3f  
    1 1 >> tst_memory_0 :: 1480942444:4100, 64 bit:4.1.0:x86_64-Linux:nepomuck:117464
    2 1 >> tst_memory_1 :: 1480942444:4100, 64 bit:4.1.0:x86_64-Linux:nepomuck:2228224
    3 1 >> tst_memory_2 :: 1480942444:4100, 64 bit:4.1.0:x86_64-Linux:nepomuck:2228224
    4 1 >> tst_timer_1 :: 1480942444:4100, 64 bit:4.1.0:x86_64-Linux:nepomuck:1
     11 >> tst_memory_0 :: 1531912408:4112, 64 bit:4.1.1:x86_64-Linux:nepomuck:96824
     21 >> tst_memory_1 :: 1531912408:4112, 64 bit:4.1.1:x86_64-Linux:nepomuck:2150160
     31 >> tst_memory_2 :: 1531912408:4112, 64 bit:4.1.1:x86_64-Linux:nepomuck:2191264
     41 >> tst_timer_1 :: 1531912408:4112, 64 bit:4.1.1:x86_64-Linux:nepomuck:2
Note: See TracChangeset for help on using the changeset viewer.