use proper context
authorboehmes
Tue, 26 Oct 2010 17:35:54 +0200
changeset 40199 2963511e121c
parent 40198 8d470bbaafd7
child 40202 ce996440ff2b
use proper context
src/HOL/Tools/SMT/smt_solver.ML
--- a/src/HOL/Tools/SMT/smt_solver.ML	Tue Oct 26 17:35:52 2010 +0200
+++ b/src/HOL/Tools/SMT/smt_solver.ML	Tue Oct 26 17:35:54 2010 +0200
@@ -423,9 +423,9 @@
 
 fun smt_filter run_remote time_limit st xrules i =
   let
-    val {context, facts, goal} = Proof.goal st
+    val {facts, goal, ...} = Proof.goal st
     val ctxt =
-      context
+      Proof.context_of st
       |> Config.put timeout (Time.toSeconds time_limit)
       |> Config.put oracle false
       |> Config.put filter_only true