WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit fed8d00

Browse files
pleichelliottt
andauthored
Update src/context.rs
Co-authored-by: Trevor Elliott <[email protected]>
1 parent bb5aab2 commit fed8d00

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/context.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,7 @@ impl ContextBuilder {
8383

8484
/// Initialize the builder with Z3 defaults.
8585
pub fn with_z3_defaults(&mut self) -> &mut Self {
86-
// Command to start Z3
87-
const Z3_PRG: &str = "z3";
88-
// Option to set Z3 in quiet mode, use SMT-LIB2 language
89-
const Z3_ARGS: [&str; 3] = ["-smt2", "-in", "-v:0"];
90-
91-
self.solver(Z3_PRG).solver_args(Z3_ARGS)
86+
self.solver("z3").solver_args(["-smt2", "-in", "-v:0"])
9287
}
9388

9489
/// Initialize the builder with CVC5 defaults.

0 commit comments

Comments
 (0)