Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/madsjulia/Mads.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Sep 10, 2024
2 parents 976eb45 + 8e9d526 commit 0310a60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 47 deletions.
45 changes: 1 addition & 44 deletions examples/svr/svr.jl
8 changes: 5 additions & 3 deletions src/Mads.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ import Ipopt
function julia_main()::Cint
if length(ARGS) > 0
filename = ARGS[1]
@info("Loading information from $(filename) ...")
md = Mads.loadmadsfile(filename)
@info("Executing calibration ...")
Mads.calibrate(md)
else
@warn "Arguments should be provided on the command line!"
@warn("Arguments should be provided on the command line!")
end
md = Mads.loadmadsfile(filename)
Mads.calibrate(md)
return 0
end

Expand Down

0 comments on commit 0310a60

Please sign in to comment.