Changeset 611ad6 in git


Ignore:
Timestamp:
Sep 14, 2017, 2:48:31 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
6d55df2fa6351d0347e3aa5fb44cd66c3587bf1d
Parents:
7cf3139bdf08fe6340e8e6f9c9bff8776001a04f
Message:
opt: nc/old.gring.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/nc/old.gring.cc

    r7cf3139 r611ad6  
    14421442  p_Test(p2,r);
    14431443  n_Delete(&C,r->cf);
    1444   n_Delete(&cG,r->cf);
    14451444
    14461445  poly out = nc_mm_Mult_pp(m, pNext(p1), r);
     
    16531652#endif
    16541653
    1655   p_Delete(&pL,r);
     1654  p_LmFree(&pL,r);
    16561655
    16571656  /* zero exponents !? */
     
    19091908  }
    19101909
    1911 //  n_Delete(&p_GetCoeff(m, r), r->cf);
    1912 //  pSetCoeff0(m, NULL);
    1913 
    1914 #ifdef PDEBUG
    1915 //  p_Test(m,r);
    1916 #endif
     1910  pSetCoeff0(m,NULL);
    19171911
    19181912  return(m);
     
    28582852    /* analyze C */
    28592853
    2860     pN = NULL; /* check the consistency later */
     2854    BOOLEAN pN_set=FALSE;
     2855    pN = n_Init(0,curr->cf);
    28612856
    28622857    if( r->N > 1 )
    28632858      if ( MATELEM(CC,1,2) != NULL )
     2859      {
     2860        if (!pN_set) n_Delete(&pN,curr->cf); // free initial nInit(0)
    28642861        pN = p_GetCoeff(MATELEM(CC,1,2), curr);
     2862        pN_set=TRUE;
     2863      }
    28652864
    28662865    tmpIsSkewConstant = true;
     
    29132912    else
    29142913      nctype = nc_general;
     2914    if (!pN_set) n_Delete(&pN,curr->cf); // free initial nInit(0)
    29152915  }
    29162916
Note: See TracChangeset for help on using the changeset viewer.