diff --git a/Project.toml b/Project.toml index c0bec24..b6ee8e0 100644 --- a/Project.toml +++ b/Project.toml @@ -24,4 +24,4 @@ Gurobi = "1" HiGHS = "1" Ipopt = "1" JuMP = "1" -PowerModels = "0.19" +PowerModels = "0.21" diff --git a/src/Benchmarks.jl b/src/Benchmarks.jl index ca48be2..6e03c55 100644 --- a/src/Benchmarks.jl +++ b/src/Benchmarks.jl @@ -62,11 +62,9 @@ function _run_latency(filename, arg) project = dirname(@__DIR__) file = joinpath(@__DIR__, "latency", filename) if arg === nothing - Base.run(`$julia_cmd --project=$project $file`) - else - Base.run(`$julia_cmd --project=$project $file $arg`) + return Base.run(`$julia_cmd --project=$project $file`) end - return + return Base.run(`$julia_cmd --project=$project $file $arg`) end function _benchmark_suite()