Skip to content

Commit b252f0c

Browse files
committed
Update
1 parent ba82536 commit b252f0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Bridges/Constraint/bridges/SplitIntervalBridge.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ function MOI.get(
333333
# `VariableIndex` constraints but `ConstraintBasisStatus` is not
334334
# defined for `VariableIndex` constraints.
335335
msg = "Cannot get `$attr` for a constraint in the interval `[-Inf, Inf]`."
336-
error(msg)
336+
throw(MOI.GetAttributeNotAllowed(attr, msg))
337337
end
338338
lower_stat = MOI.get(model, attr, bridge.lower)
339339
if lower_stat == MOI.NONBASIC

0 commit comments

Comments
 (0)