From bdbfd485b9cf362fac0465bd6b3e6e67e1e442a1 Mon Sep 17 00:00:00 2001 From: atharvas <20322919+atharvas@users.noreply.github.com> Date: Sat, 27 Jun 2026 01:01:10 +0000 Subject: [PATCH] Format .jl files --- src/LibraryAugmentedSymbolicRegression.jl | 2 +- src/Parse.jl | 2 +- src/Utils.jl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/LibraryAugmentedSymbolicRegression.jl b/src/LibraryAugmentedSymbolicRegression.jl index 763c83c6e..dba0f5b82 100644 --- a/src/LibraryAugmentedSymbolicRegression.jl +++ b/src/LibraryAugmentedSymbolicRegression.jl @@ -439,7 +439,7 @@ using ConstructionBase: ConstructionBase as _ include("precompile.jl") redirect_stdout(devnull) do redirect_stderr(devnull) do - do_precompilation(Val(:precompile)) + return do_precompilation(Val(:precompile)) end end diff --git a/src/Parse.jl b/src/Parse.jl index c4932f096..7b948cada 100644 --- a/src/Parse.jl +++ b/src/Parse.jl @@ -90,7 +90,7 @@ function _normalize_expr_string(s::AbstractString) # TODO: Right now, making all variables lowercase. This might not always be desired. s = lowercase(s) s = replace(s, r"\*\*" => "^") - strip(s) + return strip(s) end """ diff --git a/src/Utils.jl b/src/Utils.jl index 4ba6217ae..88bb5d445 100644 --- a/src/Utils.jl +++ b/src/Utils.jl @@ -95,7 +95,7 @@ const vals = ntuple(Val, max_ops) """Return the bottom k elements of x, and their indices.""" function bottomk_fast(x::AbstractVector{T}, k) where {T} - _bottomk_dispatch(x, vals[k])::Tuple{Vector{T},Vector{Int}} + return _bottomk_dispatch(x, vals[k])::Tuple{Vector{T},Vector{Int}} end function _bottomk_dispatch(x::AbstractVector{T}, ::Val{k}) where {T,k}