Changeset 611ad6 in git
- Timestamp:
- Sep 14, 2017, 2:48:31 PM (7 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 6d55df2fa6351d0347e3aa5fb44cd66c3587bf1d
- Parents:
- 7cf3139bdf08fe6340e8e6f9c9bff8776001a04f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/nc/old.gring.cc
r7cf3139 r611ad6 1442 1442 p_Test(p2,r); 1443 1443 n_Delete(&C,r->cf); 1444 n_Delete(&cG,r->cf);1445 1444 1446 1445 poly out = nc_mm_Mult_pp(m, pNext(p1), r); … … 1653 1652 #endif 1654 1653 1655 p_ Delete(&pL,r);1654 p_LmFree(&pL,r); 1656 1655 1657 1656 /* zero exponents !? */ … … 1909 1908 } 1910 1909 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); 1917 1911 1918 1912 return(m); … … 2858 2852 /* analyze C */ 2859 2853 2860 pN = NULL; /* check the consistency later */ 2854 BOOLEAN pN_set=FALSE; 2855 pN = n_Init(0,curr->cf); 2861 2856 2862 2857 if( r->N > 1 ) 2863 2858 if ( MATELEM(CC,1,2) != NULL ) 2859 { 2860 if (!pN_set) n_Delete(&pN,curr->cf); // free initial nInit(0) 2864 2861 pN = p_GetCoeff(MATELEM(CC,1,2), curr); 2862 pN_set=TRUE; 2863 } 2865 2864 2866 2865 tmpIsSkewConstant = true; … … 2913 2912 else 2914 2913 nctype = nc_general; 2914 if (!pN_set) n_Delete(&pN,curr->cf); // free initial nInit(0) 2915 2915 } 2916 2916
Note: See TracChangeset
for help on using the changeset viewer.