Skip to content
Snippets Groups Projects
Commit 68bd566c authored by Michele Alberti's avatar Michele Alberti
Browse files

Fix for making path to network file absolute.

parent 896e3511
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ let call_prover ~limit config (prover : Why3.Whyconf.config_prover) driver task ...@@ -54,7 +54,7 @@ let call_prover ~limit config (prover : Why3.Whyconf.config_prover) driver task
| Some _ -> assert false (* By construction of the meta. *) | Some _ -> assert false (* By construction of the meta. *)
| None -> invalid_arg (Fmt.str "No neural network model found in task") | None -> invalid_arg (Fmt.str "No neural network model found in task")
in in
let nn_file = Filename.concat (Caml.Sys.getcwd ()) nn_file in let nn_file = Unix.realpath nn_file in
let command = Re.replace_string nnet_or_onnx ~by:nn_file command in let command = Re.replace_string nnet_or_onnx ~by:nn_file command in
let call_prover_on_task task_prepared = let call_prover_on_task task_prepared =
let prover_call = let prover_call =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment