Skip to content

Commit eab24fd

Browse files
chore: formatting
1 parent 3a702d9 commit eab24fd

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/systems/codegen.jl

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -589,18 +589,19 @@ const SCP_AGGRESSIVE = [
589589
HVNCAT_STATIC_RULE;
590590
]
591591

592-
const SCP_OPTIONS = Dict(:basic => SCP_BASIC,
593-
:aggressive => SCP_AGGRESSIVE,
594-
:none => nothing
595-
)
592+
const SCP_OPTIONS = Dict(
593+
:basic => SCP_BASIC,
594+
:aggressive => SCP_AGGRESSIVE,
595+
:none => nothing
596+
)
596597

597598
function MTKBase.resolve_optimize_option(o::Bool)
598-
MTKBase.resolve_optimize_option(o ? SCP_BASIC : nothing)
599+
return MTKBase.resolve_optimize_option(o ? SCP_BASIC : nothing)
599600
end
600601

601602
function MTKBase.resolve_optimize_option(o::Symbol)
602603
rules = get(SCP_OPTIONS, o, nothing)
603-
MTKBase.resolve_optimize_option(rules)
604+
return MTKBase.resolve_optimize_option(rules)
604605
end
605606

606607
function MTKBase.resolve_optimize_option(o::Int)
@@ -612,4 +613,4 @@ function MTKBase.resolve_optimize_option(o::Int)
612613
return MTKBase.resolve_optimize_option(:aggressive)
613614
end
614615
throw(ArgumentError("Invalid optimize option integer: $o"))
615-
end
616+
end

0 commit comments

Comments
 (0)