Skip to content

Commit 2e9f250

Browse files
committed
clean
1 parent d074ecf commit 2e9f250

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/constraint.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Check nested constraint and update `constr_list`.
1717
1818
Check constraint in a Model.
1919
20-
check_constraint!(m::Model, constr::Nothing)
20+
check_constraint!(args...)
2121
2222
Return nothing for an empty disjunct.
2323
"""
@@ -65,7 +65,7 @@ function check_constraint!(m::Model, constr::AbstractArray{<:ConstraintRef})
6565
end
6666
return new_constr
6767
end
68-
check_constraint!(m::Model, constr::Nothing) = nothing
68+
check_constraint!(args...) = nothing
6969

7070
"""
7171
split_constraint(constr::ConstraintRef)

0 commit comments

Comments
 (0)