Skip to content

Commit

Permalink
upper limit
Browse files Browse the repository at this point in the history
  • Loading branch information
domluna committed Mar 2, 2024
1 parent 4511735 commit 723571f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nest_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ function find_optimal_nest_placeholders(
max_margin::Int,
)::Vector{Int}
placeholder_inds = findall(n -> n.typ === PLACEHOLDER, fst.nodes)
if length(placeholder_inds) <= 1
if length(placeholder_inds) <= 1 || length(placeholder_inds) >= 20
return placeholder_inds
end
newline_inds = findall(n -> n.typ === NEWLINE, fst.nodes)
Expand Down

0 comments on commit 723571f

Please sign in to comment.