Skip to content

Commit 5b6918c

Browse files
refactor: format
1 parent 14bd0b3 commit 5b6918c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/systems/optimization/optimizationsystem.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ function OptimizationSystem(objective; constraints = [], kwargs...)
168168
push!(new_ps, p)
169169
end
170170
end
171-
return OptimizationSystem(objective, collect(allunknowns), collect(new_ps); constraints, kwargs...)
171+
return OptimizationSystem(
172+
objective, collect(allunknowns), collect(new_ps); constraints, kwargs...)
172173
end
173174

174175
function flatten(sys::OptimizationSystem)

src/utils.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,6 @@ function collect_vars!(unknowns, parameters, p::Pair, iv; depth = 0, op = Differ
569569
return nothing
570570
end
571571

572-
573572
function collect_var!(unknowns, parameters, var, iv; depth = 0)
574573
isequal(var, iv) && return nothing
575574
check_scope_depth(getmetadata(var, SymScope, LocalScope()), depth) || return nothing

0 commit comments

Comments
 (0)