Changeset b44f5e in git


Ignore:
Timestamp:
Aug 3, 2011, 3:02:20 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
40a8236485de17ffaad0e50dc3dd0aecaa4af34d
Parents:
47e836b597c497e01425bb356b2bcd597f62746f
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-03 15:02:20+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:11:35+01:00
Message:
FIX: pSetModDeg() -> p_SetModDeg(, currRing)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/syz.cc

    r47e836b rb44f5e  
    858858  for (i=0;i<cols-1;i++)
    859859  {
    860     if ((i==0) && (weights!=NULL)) pSetModDeg(weights);
     860    if ((i==0) && (weights!=NULL)) p_SetModDeg(weights, currRing);
    861861    memset(temp2,0,(l+1)*sizeof(int));
    862862    for (j=0;j<IDELEMS(res[i]);j++)
     
    877877      }
    878878    }
    879     if ((i==0) && (weights!=NULL)) pSetModDeg(NULL);
     879    if ((i==0) && (weights!=NULL)) p_SetModDeg(NULL, currRing);
    880880    temp3 = temp1;
    881881    temp1 = temp2;
     
    912912  {
    913913    memset(temp2,0,l*sizeof(int));
    914     pSetModDeg(weights);
     914    p_SetModDeg(weights, currRing);
    915915  }
    916916  else
    917917    memset(temp2,0,l*sizeof(int));
    918918  int dummy = syDetect(res[0],0,TRUE,temp2,tocancel);
    919   if (weights!=NULL) pSetModDeg(NULL);
     919  if (weights!=NULL) p_SetModDeg(NULL, currRing);
    920920  if (tomin)
    921921  {
     
    929929  for (i=0;i<cols-1;i++)
    930930  {
    931     if ((i==0) && (weights!=NULL)) pSetModDeg(weights);
     931    if ((i==0) && (weights!=NULL)) p_SetModDeg(weights, currRing);
    932932    memset(temp2,0,l*sizeof(int));
    933933    for (j=0;j<IDELEMS(res[i]);j++)
     
    972972      if ((IMATELEM((*result),j+1,i+2)!=0) && (j>*regularity)) *regularity = j;
    973973    }
    974     if ((i==0) && (weights!=NULL)) pSetModDeg(NULL);
     974    if ((i==0) && (weights!=NULL)) p_SetModDeg(NULL, currRing);
    975975  }
    976976  // Print("nach minim:\n"); result->show(); PrintLn();
Note: See TracChangeset for help on using the changeset viewer.