Skip to content

Commit

Permalink
Improve msg in set_atexit_save_optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
goerz committed Mar 5, 2024
1 parent 1ab3ea6 commit 46b3b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/optimize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function optimize_krotov(problem)
if !isnothing(atexit_filename)
set_atexit_save_optimization(atexit_filename, wrk.result)
if !isinteractive()
@info "Set callback to store result in $atexit_filename on unexpected exit."
@info "Set callback to store result in $(relpath(atexit_filename)) on unexpected exit."
# In interactive mode, `atexit` is very unlikely, and
# `InterruptException` is handles via try/catch instead.
end
Expand Down

0 comments on commit 46b3b10

Please sign in to comment.