Skip to content

Commit

Permalink
Specify type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Deborah Hendrych committed Nov 6, 2023
1 parent a38f950 commit 57e22cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managed_blmo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mutable struct ManagedBoundedLMO{SBLMO<:SimpleBoundableLMO} <: BoundedLinearMini
solving_time::Float64
end

function ManagedBoundedLMO(simple_lmo, lb, ub, int_vars, n)
function ManagedBoundedLMO(simple_lmo, lb, ub, int_vars::Vector{Int}, n::Int)
if length(lb) != length(ub) || length(ub) != length(int_vars) || length(lb) != length(int_vars)
error(
"Supply lower and upper bounds for all integer variables. If there are no explicit bounds, set entry to Inf and -Inf, respectively. The entries have to match the entries of int_vars!",
Expand Down

0 comments on commit 57e22cc

Please sign in to comment.