Changeset 95c1fa in git


Ignore:
Timestamp:
Apr 21, 2011, 3:04:51 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'aefe9ae36ec8df52dbdbefda02828f18f27715b3')
Children:
8480dbf5dfc5f90c4d0667046a94d1325b77fd9f
Parents:
9b9ae7fadb61129e98f779cff3f5ea3435f370a7
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-04-21 15:04:51+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:26+01:00
Message:
FIX: fixes due to separating coeffs into 'cf'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/ring.cc

    r9b9ae7 r95c1fa  
    140140  assume( cf != NULL);
    141141  ring r=(ring) omAlloc0Bin(sip_sring_bin);
    142   r->cf->ch    = n_GetChar(cf);
    143142  r->N     = N;
    144143  r->cf = cf;
     
    482481  }
    483482
    484   // delete parameter
    485   if (r->cf->parameter!=NULL)
    486   {
    487     char **s=r->cf->parameter;
    488     j = 0;
    489     while (j < rPar(r))
    490     {
    491       if (*s != NULL) omFree((ADDRESS)*s);
    492       s++;
    493       j++;
    494     }
    495     omFreeSize((ADDRESS)r->cf->parameter,rPar(r)*sizeof(char *));
    496   }
     483//   // delete parameter
     484//   if (r->cf->parameter!=NULL)
     485//   {
     486//     char **s=r->cf->parameter;
     487//     j = 0;
     488//     while (j < rPar(r))
     489//     {
     490//       if (*s != NULL) omFree((ADDRESS)*s);
     491//       s++;
     492//       j++;
     493//     }
     494//     omFreeSize((ADDRESS)r->cf->parameter,rPar(r)*sizeof(char *));
     495//   }
    497496  omFreeBin(r, sip_sring_bin);
    498497}
     
    739738int rChar(ring r)
    740739{
     740  TODO(Somabody, move this proc. over to coeffs!?);
     741 
    741742#ifdef HAVE_RINGS
    742743  if (rField_is_Ring_2toM(r))
Note: See TracChangeset for help on using the changeset viewer.