From 4da6aa3163771a4369e5c4d3997e2868027368ac Mon Sep 17 00:00:00 2001 From: MilesCranmer Date: Mon, 9 Dec 2024 02:13:29 +0000 Subject: [PATCH] refactor: remove specialization on input stream --- src/Options.jl | 1 - src/OptionsStruct.jl | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Options.jl b/src/Options.jl index c87fb805..d7fc61cf 100644 --- a/src/Options.jl +++ b/src/Options.jl @@ -868,7 +868,6 @@ $(OPTION_DESCRIPTIONS) deprecated_return_state::Union{Bool,Nothing}, typeof(_autodiff_backend), print_precision, - typeof(input_stream), }( operators, _bin_constraints, diff --git a/src/OptionsStruct.jl b/src/OptionsStruct.jl index e0fcfa86..169b3057 100644 --- a/src/OptionsStruct.jl +++ b/src/OptionsStruct.jl @@ -189,7 +189,6 @@ struct Options{ _return_state, AD, print_precision, - ST, } <: AbstractOptions operators::OP bin_constraints::Vector{Tuple{Int,Int}} @@ -251,7 +250,7 @@ struct Options{ return_state::Val{_return_state} timeout_in_seconds::Union{Float64,Nothing} max_evals::Union{Int,Nothing} - input_stream::ST + input_stream::IO skip_mutation_failures::Bool nested_constraints::Union{Vector{Tuple{Int,Int,Vector{Tuple{Int,Int,Int}}}},Nothing} deterministic::Bool