Skip to content

Commit

Permalink
Fix extra newlines (#859)
Browse files Browse the repository at this point in the history
SciML style does not expect new lines to be placed with every argument. This puts it out of reach for almost any compliable Julia function so it essentially only applies to arrays.
  • Loading branch information
ChrisRackauckas authored Jul 26, 2024
1 parent 5c2d66c commit 5b18dd5
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 @@ -231,7 +231,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 || length(placeholder_inds) >= 50
if length(placeholder_inds) <= 1 || length(placeholder_inds) >= 500
return placeholder_inds
end
newline_inds = findall(n -> n.typ === NEWLINE, fst.nodes)
Expand Down

0 comments on commit 5b18dd5

Please sign in to comment.