Skip to content

Commit cc9e6a3

Browse files
Format .jl files (#170)
Co-authored-by: sshin23 <[email protected]>
1 parent a19fc51 commit cc9e6a3

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

ext/ExaModelsMOI.jl

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -445,12 +445,10 @@ function _exafy(i::R, var_to_idx, p) where {R<:Real}
445445
end
446446

447447
function _exafy(e::MOI.ScalarNonlinearFunction, var_to_idx, p = ())
448-
return op(e.head)((
449-
begin
450-
c, p = _exafy(e, var_to_idx, p)
451-
c
452-
end for e in e.args
453-
)...), p
448+
return op(e.head)((begin
449+
c, p = _exafy(e, var_to_idx, p)
450+
c
451+
end for e in e.args)...), p
454452
end
455453

456454
function _exafy(e::MOI.ScalarAffineFunction{T}, var_to_idx, p = ()) where {T}

0 commit comments

Comments
 (0)