Skip to content

Commit

Permalink
Update src/structures.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Diego Alejandro Tejada Arango <[email protected]>
  • Loading branch information
abelsiqueira and datejada authored Dec 11, 2024
1 parent b16ef24 commit 42f5a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function attach_constraint!(
container::Vector{<:JuMP.ConstraintRef},
)
if length(container) != cons.num_rows
error("The number of constraints does not match the number of rows in the indices")
error("The number of constraints does not match the number of rows in the indices of $name")
end
push!(cons.constraint_names, name)
model[name] = container
Expand Down

0 comments on commit 42f5a2f

Please sign in to comment.