Skip to content

Commit d5c7307

Browse files
committed
Fix missing type annotations in test
1 parent 45907c8 commit d5c7307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ end
4444
envptr = Ref{Ptr{Cvoid}}()
4545
# Temporary workaround for 12.0.0. This can be reverted to use GRBemptyenv for 12.0.1
4646
# https://docs.gurobi.com/projects/optimizer/en/12.0/reference/releasenotes/knownbugs.html
47-
error = @ccall libgurobi.GRBemptyenvinternal(envptr::Ptr{Ptr{Cvoid}}, 12, 0, 0)::Cint
47+
error = @ccall libgurobi.GRBemptyenvinternal(envptr::Ptr{Ptr{Cvoid}}, 12::int, 0::int, 0::int)::Cint
4848
@test error == 0
4949
error = @ccall libgurobi.GRBstartenv(envptr[]::Ptr{Cvoid})::Cint
5050
@test error == 10009 || error == 0

0 commit comments

Comments
 (0)