Skip to content

Commit 6da0650

Browse files
committed
Fix format
1 parent 0ad6caa commit 6da0650

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Nonlinear/ReverseAD/mathoptinterface_api.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ function MOI.initialize(d::NLPEvaluator, requested_features::Vector{Symbol})
141141
end
142142
# 10 is hardcoded upper bound to avoid excess memory allocation
143143
max_chunk = min(max_chunk, 10)
144-
max_expr_with_sub_length =
145-
max(max_expr_with_sub_length, max_expr_length)
144+
max_expr_with_sub_length = max(max_expr_with_sub_length, max_expr_length)
146145
if d.want_hess || want_hess_storage
147146
d.input_ϵ = zeros(max_chunk * N)
148147
d.output_ϵ = zeros(max_chunk * N)

0 commit comments

Comments
 (0)