From 534f459c29fc1eaa09810e162a50ababe1352df7 Mon Sep 17 00:00:00 2001 From: Chris Rackauckas Date: Wed, 15 Dec 2021 13:11:08 -0500 Subject: [PATCH] hotfix to allow Any tolerance --- Project.toml | 2 +- src/common.jl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index eb5c3f5f4..924eb5043 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "LinearSolve" uuid = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae" authors = ["SciML"] -version = "0.1.7" +version = "0.1.8" [deps] ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" diff --git a/src/common.jl b/src/common.jl index 9fac9bc68..b61bac963 100644 --- a/src/common.jl +++ b/src/common.jl @@ -73,6 +73,7 @@ default_tol(::Type{T}) where T = √(eps(T)) default_tol(::Type{Complex{T}}) where T = √(eps(T)) default_tol(::Type{<:Rational}) = 0 default_tol(::Type{<:Integer}) = 0 +default_tol(::Type{Any}) = 0 function SciMLBase.init(prob::LinearProblem, alg::Union{SciMLLinearSolveAlgorithm,Nothing}, args...; alias_A = false, alias_b = false,