Skip to content

Commit

Permalink
Merge pull request #323 from MilesCranmer:dispatch-doctor
Browse files Browse the repository at this point in the history
Mark more functions as stable
  • Loading branch information
MilesCranmer authored Jun 15, 2024
2 parents ea03242 + 5fd327f commit 95b647f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SymbolicRegression.jl
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ function equation_search(
)
end

@noinline function _equation_search(
@stable default_mode = "disable" @noinline function _equation_search(
datasets::Vector{D}, ropt::RuntimeOptions, options::Options, saved_state
) where {D<:Dataset}
_validate_options(datasets, ropt, options)
Expand Down Expand Up @@ -628,7 +628,7 @@ function _validate_options(
end
return nothing
end
function _create_workers(
@stable default_mode = "disable" function _create_workers(
datasets::Vector{D}, ropt::RuntimeOptions, options::Options
) where {T,L,D<:Dataset{T,L}}
stdin_reader = watch_stream(stdin)
Expand Down
4 changes: 4 additions & 0 deletions test/LocalPreferences.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[DynamicExpressions]
instability_check = "error"
instability_check_codegen = "min"

[SymbolicRegression]
instability_check = "error"
instability_check_codegen = "min"

0 comments on commit 95b647f

Please sign in to comment.