Skip to content

Commit

Permalink
ok whoops.
Browse files Browse the repository at this point in the history
  • Loading branch information
exaexa committed Jan 3, 2024
1 parent fa37cf6 commit 0eca87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constraint_tree.jl
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function variables(; keys::AbstractVector{Symbol}, bounds = nothing)
length(bounds) == length(keys) ? bounds :
error("lengths of bounds and keys differ for allocated variables")
ConstraintTree(
k => variable(idx = i, bound = b) for ((i, k), b) in zip(enumerate(keys), bs)
k => variable(idx = i, bound = b) for ((i, k), b) in Base.zip(enumerate(keys), bs)
)
end

Expand Down

0 comments on commit 0eca87f

Please sign in to comment.