From b16ef241c604207eb6982077cad2b52c1d60594a Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Wed, 11 Dec 2024 17:12:03 +0100 Subject: [PATCH] Update src/structures.jl Co-authored-by: Diego Alejandro Tejada Arango <12887482+datejada@users.noreply.github.com> --- src/structures.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures.jl b/src/structures.jl index d8c17064..ebf99f86 100644 --- a/src/structures.jl +++ b/src/structures.jl @@ -119,7 +119,7 @@ This checks that the `container` length matches the stored `indices` number of r """ function attach_expression!(cons::TulipaConstraint, name::Symbol, container::Vector{JuMP.AffExpr}) if length(container) != cons.num_rows - error("The number of expressions does not match the number of rows in the indices") + error("The number of expressions does not match the number of rows in the indices of $name") end cons.expressions[name] = container return nothing