src/Tools/isac/MathEngBasic/ctree-basic.sml
changeset 60649 b2ff1902420f
parent 60643 376a1629989e
child 60654 c2db35151fba
equal deleted inserted replaced
60648:976b99bcfc96 60649:b2ff1902420f
   815         in cut_levup cuts clevup pt pt' (P, p) (get_nd pt P) end
   815         in cut_levup cuts clevup pt pt' (P, p) (get_nd pt P) end
   816 	  end;
   816 	  end;
   817 
   817 
   818 (* get the theory explicitly just for the rootpbl;
   818 (* get the theory explicitly just for the rootpbl;
   819    thus use this function _after_ finishing specification *)
   819    thus use this function _after_ finishing specification *)
   820 fun root_thy (Nd (PblObj {spec = (thyID, _, _), ...}, _)) = Know_Store.get_via_last_thy thyID
   820 fun root_thy (Nd (PblObj {spec = (thyID, _, _), ctxt, ...}, _)) = ThyC.get_theory_PIDE ctxt thyID
   821   | root_thy _ = raise ERROR "root_thy: uncovered fun def.";
   821   | root_thy _ = raise ERROR "root_thy: uncovered fun def.";
   822 
   822 
   823 (**)
   823 (**)
   824 end;
   824 end;
   825 (**)
   825 (**)