From a9b2c2e1b73e468f89badf6ac059d2fa46a5319d Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Fri, 26 Jul 2024 10:31:44 -0400 Subject: [PATCH] Fix extra newlines 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. --- src/nest_utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nest_utils.jl b/src/nest_utils.jl index 9ea4db0ab..90fcbd53c 100644 --- a/src/nest_utils.jl +++ b/src/nest_utils.jl @@ -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)