diff --git a/src/utils.jl b/src/utils.jl index 2cc75c7da9..9e6abafc4d 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -665,8 +665,7 @@ function promote_to_concrete(vs; tofloat = true, use_union = true) T = eltype(vs) # return early if there is nothing to do - # TODO: reenable after it was disabled to fix missing errors in https://github.com/SciML/ModelingToolkit.jl/issues/2873 - #Base.isconcretetype(T) && (!tofloat || T === float(T)) && return vs + Base.isconcretetype(T) && (!tofloat#= || T === float(T)=#) && return vs # TODO: disabled float(T) to restore missing errors in https://github.com/SciML/ModelingToolkit.jl/issues/2873 sym_vs = filter(x -> SymbolicUtils.issym(x) || SymbolicUtils.iscall(x), vs) isempty(sym_vs) || throw_missingvars_in_sys(sym_vs)