Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change
get_tournament_selection_weights
function signature (#395)
* Change `get_tournament_selection_weights` options type to AbstractOptions `get_tournament_selection_weights`, presently, only accepts `options::Options`. This created a bottleneck for LaSR (or any other SymbolicRegression.jl customization) that relies on multiple dispatch of subtypes of `AbstractOptions` type. Changing the function signature doesn't impact the test cases in SymbolicRegression.jl. * refactor: improve type instability in `get_tournament_selection_weights` --------- Co-authored-by: Miles Cranmer <miles.cranmer@gmail.com>
- Loading branch information