src/HOL/Statespace/state_space.ML
changeset 28394 b9c8e3a12a98
parent 28308 d4396a28fb29
child 28820 95dd21624c6c
--- a/src/HOL/Statespace/state_space.ML	Sun Sep 28 14:46:51 2008 +0200
+++ b/src/HOL/Statespace/state_space.ML	Mon Sep 29 10:58:01 2008 +0200
@@ -352,8 +352,7 @@
   thy
   |> TheoryTarget.init name
   |> (fn lthy => LocalTheory.declaration (decl lthy) lthy)
-  |> LocalTheory.exit
-  |> ProofContext.theory_of;
+  |> LocalTheory.exit_global;
 
 fun parent_components thy (Ts, pname, renaming) =
   let