Skip to content

Commit 2f5f19b

Browse files
committed
prefix undocumented functions with _
1 parent dfd53c7 commit 2f5f19b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/get_equality.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Utility functions for identifying JuMP constraints that define equalities.
2525
import JuMP as jmp
2626
import MathOptInterface as moi
2727

28-
function get_set_of_constraint(
28+
function _get_set_of_constraint(
2929
model::jmp.Model,
3030
constraint::jmp.ConstraintRef,
3131
index::moi.ConstraintIndex,
@@ -34,7 +34,7 @@ function get_set_of_constraint(
3434
return set
3535
end
3636

37-
function get_set_of_constraint(
37+
function _get_set_of_constraint(
3838
model::jmp.Model,
3939
constraint::jmp.ConstraintRef,
4040
index::moi.Nonlinear.ConstraintIndex,
@@ -116,7 +116,7 @@ Detect whether a constraint is an equality constraint.
116116
function is_equality(constraint::jmp.ConstraintRef)::Bool
117117
model = constraint.model
118118
index = constraint.index
119-
set = get_set_of_constraint(model, constraint, index)
119+
set = _get_set_of_constraint(model, constraint, index)
120120
return set_implies_equality(set)
121121
end
122122

0 commit comments

Comments
 (0)