Skip to content

Commit e936d08

Browse files
committed
Improve error message
1 parent a0aee82 commit e936d08

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/tune_4p.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# activate the test environment if needed
22
using Pkg
3+
if VERSION.minor > 10
4+
error("This example is only compatible with Julia 1.10!")
5+
end
36
if ! ("BayesOpt" keys(Pkg.project().dependencies))
47
using TestEnv; TestEnv.activate()
58
# this will not work with Julia 1.11 or newer

0 commit comments

Comments
 (0)