1 | initial version |
OK. The problem was that the polynomial g might be a constant in which case the degree might not work When I changed the line g = g- ttf1 to q= R(g- ttf1) the code worked. I still would appreciate any comment
2 | No.2 Revision |
OK. The problem was that the polynomial g might be a constant in which case the degree might not work
When I changed the line g = g- ttf1 to q= R(g- ttf1) the code worked. I still would appreciate any commentcommenOf course the logic of the code was incorrect. The loop condition should have been d.degree()>f1.degree() and no neeed for the if statement. Still the error i encountered had nothing to do with this