Skip to content

Commit

Permalink
FIX: no pVec2Polys (use p_Vec2Poly + ring instead)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr Motsak authored and mohamed-barakat committed Nov 9, 2011
1 parent e044528 commit d02fff6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Singular/ipprint.cc
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ static BOOLEAN ipPrint_V(leftv u)
polyset m=NULL;
int l,j;
/*convert into an array of the components*/
pVec2Polys((poly)u->Data(), &m, &l);
p_Vec2Polys((poly)u->Data(), &m, &l, currRing);
/*output*/
PrintS("[");
j=0;
Expand Down
2 changes: 1 addition & 1 deletion kernel/polys.h
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ inline void pNorm(poly p, const ring R = currRing){ p_Norm(p, R); }
#define pDegW(p,w) p_DegW(p,w,currRing)

/*-----------type conversions ----------------------------*/
void pVec2Polys(poly v, polyset *p, int *len);
// void pVec2Polys(poly v, polyset *p, int *len);
#define pVar(m) p_Var(m,currRing)

/*-----------specials for spoly-computations--------------*/
Expand Down

0 comments on commit d02fff6

Please sign in to comment.