fixed bug in grobner_ideal
authorchaieb
Mon, 08 Oct 2007 20:20:13 +0200
changeset 24913eb6fd8f78d56
parent 24912 52bc004950c4
child 24914 95cda5dd58d5
fixed bug in grobner_ideal
src/HOL/Tools/Groebner_Basis/groebner.ML
     1.1 --- a/src/HOL/Tools/Groebner_Basis/groebner.ML	Mon Oct 08 19:53:09 2007 +0200
     1.2 +++ b/src/HOL/Tools/Groebner_Basis/groebner.ML	Mon Oct 08 20:20:13 2007 +0200
     1.3 @@ -357,7 +357,7 @@
     1.4  
     1.5  fun grobner_ideal vars pols pol =
     1.6    let val (pol',h) = reduce (grobner pols) (grob_neg pol,Start(~1)) in
     1.7 -  if not (null pol) then error "grobner_ideal: not in the ideal" else
     1.8 +  if not (null pol') then error "grobner_ideal: not in the ideal" else
     1.9    resolve_proof vars h end;
    1.10  
    1.11  (* ------------------------------------------------------------------------- *)