Skip to content

Commit

Permalink
Remove function specialization
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Dec 23, 2023
1 parent 1c4e34f commit 3182ee0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/SymbolicRegression.jl
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ function equation_search(
error(
"You cannot set `verbosity` in both the search parameters `Options` and the call to `equation_search`.",
)
false
1
end
_progress = if progress === nothing && options.progress === nothing
(_verbosity > 0) && length(datasets) == 1
Expand Down Expand Up @@ -562,7 +562,7 @@ function _equation_search(
options::Options,
numprocs::Integer,
procs::Union{Vector{Int},Nothing},
addprocs_function::F,
addprocs_function::Function,
exeflags::Cmd,
runtests::Bool,
saved_state,
Expand All @@ -576,7 +576,6 @@ function _equation_search(
parallelism,
should_return_state,
dim_out,
F<:Function,
}
if options.deterministic
if parallelism != :serial
Expand Down

0 comments on commit 3182ee0

Please sign in to comment.