Skip to content

Commit 7b4a284

Browse files
committed
update InfiniteOpt
1 parent ab858cf commit 7b4a284

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ FunctionWrappers = "1.1"
123123
FunctionWrappersWrappers = "0.1"
124124
Graphs = "1.5.2"
125125
ImplicitDiscreteSolve = "0.1.2, 1"
126-
InfiniteOpt = "0.5"
126+
InfiniteOpt = "0.6"
127127
InteractiveUtils = "1"
128128
JuliaFormatter = "1.0.47, 2"
129129
JumpProcesses = "9.19"

ext/MTKInfiniteOptExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,11 @@ end
257257

258258
# JuMP variables and Symbolics variables never compare equal. When tracing through dynamics, a function argument can be either a JuMP variable or A Symbolics variable, it can never be both.
259259
function Base.isequal(::SymbolicUtils.Symbolic,
260-
::Union{JuMP.GenericAffExpr, JuMP.GenericQuadExpr, InfiniteOpt.AbstractInfOptExpr})
260+
::Union{JuMP.GenericAffExpr, JuMP.GenericQuadExpr, JuMP.GenericNonlinearExpr})
261261
false
262262
end
263263
function Base.isequal(
264-
::Union{JuMP.GenericAffExpr, JuMP.GenericQuadExpr, InfiniteOpt.AbstractInfOptExpr},
264+
::Union{JuMP.GenericAffExpr, JuMP.GenericQuadExpr, JuMP.GenericNonlinearExpr},
265265
::SymbolicUtils.Symbolic)
266266
false
267267
end

0 commit comments

Comments
 (0)