Changeset 8968f10 in git


Ignore:
Timestamp:
Jun 19, 2015, 4:50:26 PM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
500e4b69e2df574c6ae8023f32cbdfbdbd0d5e8e8e18ccc9b499f7dc190d8295d0c3f12184a9f764
Parents:
65183c4a48aa72cde94b38d7f54b90a4cf004b53
Message:
writemon/p_Write0/p_String opt. (p. 1)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/polys0.cc

    r65183c4 r8968f10  
    3030  const BOOLEAN bNotShortOut = (rShortOut(r) == FALSE);
    3131
    32   if (pGetCoeff(p)!=NULL)
    33     n_Normalize(pGetCoeff(p),C);
    34 
    35   if (((p_GetComp(p,r) == (short)ko)
     32  if (((p_GetComp(p,r) == ko)
    3633    &&(p_LmIsConstantComp(p, r)))
    3734  || ((!n_IsOne(pGetCoeff(p),C))
     
    123120  // Just think of other ring using the VERY SAME naRing and possible
    124121  // side-effects...
     122  // but this is not a problem: i/o is not thread-safe anyway.
    125123  const BOOLEAN bLMShortOut = rShortOut(lmRing);
    126124  const BOOLEAN bTAILShortOut = rShortOut(tailRing);
     
    144142  }
    145143  p_Normalize(p,lmRing);
     144  p_Normalize(p,lmRing); /* Manual/absfact.tst */
    146145  if ((p_GetComp(p, lmRing) == 0) || (!lmRing->VectorOut))
    147146  {
     
    244243    r = pNext(pNext(p));
    245244    pNext(pNext(p)) = NULL;
    246     p_Write0(p, lmRing, tailRing);
     245    p_Write0(p, tailRing);
    247246    if (r!=NULL)
    248247    {
Note: See TracChangeset for help on using the changeset viewer.