Skip to content

Commit

Permalink
Use promote_type instead of promote_eltype in misc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasnoack committed Feb 13, 2024
1 parent 0079530 commit 0a1e13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/misc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ end
for eltyb in (Float32, Float64)
a = rand(eltya)
b = rand(eltyb)
T = Base.promote_eltype(eltya, eltyb)
T = Base.promote_type(eltya, eltyb)
@test typeof(logmvbeta(1, a, b)) == T
end
end
Expand Down

0 comments on commit 0a1e13d

Please sign in to comment.