Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
caisar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
caisar
Commits
3b592461
Commit
3b592461
authored
4 years ago
by
Michele Alberti
Browse files
Options
Downloads
Patches
Plain Diff
Remove no more needed code.
parent
59b8dc77
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main.ml
+2
-3
2 additions, 3 deletions
main.ml
solver.ml
+0
-1
0 additions, 1 deletion
solver.ml
with
2 additions
and
4 deletions
main.ml
+
2
−
3
View file @
3b592461
...
@@ -43,8 +43,7 @@ let setup_logs =
...
@@ -43,8 +43,7 @@ let setup_logs =
(* Commands. *)
(* Commands. *)
let
verify
cmd
model
property
solver
solver_raw_options
()
=
let
verify
cmd
model
property
solver
raw_options
()
=
ignore
solver_raw_options
;
Logs
.
debug
Logs
.
debug
(
fun
m
->
(
fun
m
->
m
"Command `%s' with@ model `%s',@ property `%s' and@ solver `%s'."
m
"Command `%s' with@ model `%s',@ property `%s' and@ solver `%s'."
...
@@ -53,7 +52,7 @@ let verify cmd model property solver solver_raw_options () =
...
@@ -53,7 +52,7 @@ let verify cmd model property solver solver_raw_options () =
let
open
Result
in
let
open
Result
in
Model
.
build
~
filename
:
model
>>=
fun
model
->
Model
.
build
~
filename
:
model
>>=
fun
model
->
Property
.
build
~
filename
:
property
>>=
fun
property
->
Property
.
build
~
filename
:
property
>>=
fun
property
->
Solver
.
exec
?
raw_options
:
solver_raw_options
solver
property
model
Solver
.
exec
?
raw_options
solver
property
model
in
in
match
do_verify
()
with
match
do_verify
()
with
|
Ok
()
->
Logs
.
app
(
fun
m
->
m
"Done."
)
|
Ok
()
->
Logs
.
app
(
fun
m
->
m
"Done."
)
...
...
This diff is collapsed.
Click to expand it.
solver.ml
+
0
−
1
View file @
3b592461
...
@@ -146,7 +146,6 @@ let build_command ?raw_options solver property model =
...
@@ -146,7 +146,6 @@ let build_command ?raw_options solver property model =
end
end
let
exec
?
raw_options
solver
property
model
=
let
exec
?
raw_options
solver
property
model
=
ignore
raw_options
;
let
open
Result
in
let
open
Result
in
(* Check solver availability in PATH. *)
(* Check solver availability in PATH. *)
check_availability
solver
>>=
fun
()
->
check_availability
solver
>>=
fun
()
->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment