diff --git a/Project.toml b/Project.toml index 5114309f..a6dbe310 100644 --- a/Project.toml +++ b/Project.toml @@ -8,7 +8,6 @@ DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" DiffRules = "b552c78f-8df3-52c6-915a-8e097449b14b" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" NaNMath = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3" -Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" RuntimeGeneratedFunctions = "7e49a35a-f44a-4d26-94aa-eba1b4ca6b47" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b" diff --git a/src/Methods.jl b/src/Methods.jl index b966ba8f..f9c35945 100644 --- a/src/Methods.jl +++ b/src/Methods.jl @@ -54,8 +54,8 @@ function number_methods(T, rhs1, rhs2, options=nothing) (f::$(typeof(f)))(a::$T, b::$T) = $rhs2 (f::$(typeof(f)))(a::$T, b::Real) = $rhs2 (f::$(typeof(f)))(a::Real, b::$T) = $rhs2 - (f::$(typeof(f)))(a::$T, b::Number) = $rhs2 - (f::$(typeof(f)))(a::Number, b::$T) = $rhs2 + # (f::$(typeof(f)))(a::$T, b::Number) = $rhs2 + # (f::$(typeof(f)))(a::Number, b::$T) = $rhs2 end push!(exprs, expr)