summaryrefslogtreecommitdiff
path: root/Source/Provers/SMTLib/Z3.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2013-07-02 18:58:19 -0700
committerGravatar wuestholz <unknown>2013-07-02 18:58:19 -0700
commitd54c349601e9a4da8d28919008c85ca990447ead (patch)
tree2dd400da6a0f966e6ebf7c79701ede036f8129b9 /Source/Provers/SMTLib/Z3.cs
parentfc33b0b2938ad4e81e34c87f054c2880bb56cd17 (diff)
Worked on the parallelization.
Diffstat (limited to 'Source/Provers/SMTLib/Z3.cs')
-rw-r--r--Source/Provers/SMTLib/Z3.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Provers/SMTLib/Z3.cs b/Source/Provers/SMTLib/Z3.cs
index bc9e6992..24071457 100644
--- a/Source/Provers/SMTLib/Z3.cs
+++ b/Source/Provers/SMTLib/Z3.cs
@@ -160,10 +160,10 @@ namespace Microsoft.Boogie.SMTLib
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = true;
proc.Start();
+ string answer = proc.StandardOutput.ReadToEnd();
proc.WaitForExit();
if (proc.ExitCode == 0)
- {
- string answer = proc.StandardOutput.ReadToEnd();
+ {
var firstdot = answer.IndexOf('.');
if (firstdot >= 0)
{