Skip to content

Commit e1215ec

Browse files
Oleksandr Motsakmohamed-barakat
authored andcommitted
FIX: pSetModDeg in ideals.cc
1 parent a2cca6d commit e1215ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kernel/ideals.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1989,7 +1989,7 @@ BOOLEAN idTestHomModule(ideal m, ideal Q, intvec *w)
19891989
}
19901990

19911991
if(w!=NULL)
1992-
pSetModDeg(w);
1992+
p_SetModDeg(w, currRing);
19931993

19941994
for (i=length-1;i>=0;i--)
19951995
{
@@ -2006,15 +2006,15 @@ BOOLEAN idTestHomModule(ideal m, ideal Q, intvec *w)
20062006
{
20072007
//pWrite(q); wrp(p); Print(" -> %d - %d\n",d,pFDeg(p,currRing));
20082008
if(w!=NULL)
2009-
pSetModDeg(NULL);
2009+
p_SetModDeg(NULL, currRing);
20102010
return FALSE;
20112011
}
20122012
}
20132013
}
20142014
}
20152015

20162016
if(w!=NULL)
2017-
pSetModDeg(NULL);
2017+
p_SetModDeg(NULL, currRing);
20182018

20192019
return TRUE;
20202020
}

0 commit comments

Comments
 (0)