Fixed!
The flag
IHaveMonomialGensValue was not updated.
The fixed version 0.9935 is now alailable at
http://cocoa.dima.unige.it/cocoalib/changelog-0.99.htmlThanks for the feedback!
Anna
PS there were some improvements in the syntax as well, now your test code can be written like this:
Code:
CoCoA::FractionField Q=CoCoA::RingQ();
CoCoA::SparsePolyRing Qx = CoCoA::NewPolyRing(Q,symbols("x"));
RingElem x = indet(Qx,0);
CoCoA::ideal I(x);
CoCoA::ideal J(x+1);
cout << "I = " << I << endl;
cout << "J = " << J << endl;
cout << "int = " << intersect(I,J) << endl;
cout << "GB(I) = " << TidyGens(I) << endl;
cout << "GB(J) = " << TidyGens(J) << endl;
cout << "GB(int) = " << TidyGens(intersect(I,J)) << endl;