File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff 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
597598function 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 )
599600end
600601
601602function 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)
604605end
605606
606607function 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
You can’t perform that action at this time.
0 commit comments