Skip to content

Commit fcfd562

Browse files
committed
Fix format
1 parent b902f7d commit fcfd562

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/Nonlinear/ReverseAD/types.jl

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@ struct _SubexpressionStorage
4343
end
4444

4545
function MOI.Nonlinear.expression(expr::_SubexpressionStorage)
46-
return MOI.Nonlinear.Expression(
47-
expr.nodes,
48-
expr.const_values,
49-
)
46+
return MOI.Nonlinear.Expression(expr.nodes, expr.const_values)
5047
end
5148

5249
MOI.Nonlinear.adjacency_matrix(expr::_SubexpressionStorage) = expr.adj
@@ -146,10 +143,7 @@ struct _FunctionStorage
146143
end
147144

148145
function MOI.Nonlinear.expression(expr::_FunctionStorage)
149-
return MOI.Nonlinear.Expression(
150-
expr.nodes,
151-
expr.const_values,
152-
)
146+
return MOI.Nonlinear.Expression(expr.nodes, expr.const_values)
153147
end
154148

155149
MOI.Nonlinear.adjacency_matrix(expr::_FunctionStorage) = expr.adj

0 commit comments

Comments
 (0)