Skip to content

Commit d167b13

Browse files
committed
fix.
1 parent 21636e0 commit d167b13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/KNITRO.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ end
4646
error(
4747
"You have installed version $version of Artelys Knitro, " *
4848
"which is not supported by KNITRO.jl. We require a version " *
49-
"in [13, 16)",
49+
"in >=13, <16.",
5050
)
5151
end
5252
end
5353
else
5454
import KNITRO_jll
5555
if KNITRO_jll.is_available()
5656
using KNITRO_jll: libknitro, knitroampl
57-
const amplexe = knitroampl
57+
const amplexe = knitroampl()
5858
else
5959
error(
6060
"Unsupported platform: Use a manual installation by setting " *

0 commit comments

Comments
 (0)