Skip to content

Commit

Permalink
Removed Random from dependencies since it is only used in testing. Ha…
Browse files Browse the repository at this point in the history
…ve a separate Project.toml file for test that handles that.
  • Loading branch information
brianguenter committed Aug 2, 2024
1 parent e60aefa commit 07c75f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions src/Methods.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 07c75f1

Please sign in to comment.