-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong answers for Tropical{Float32}
#19
Comments
Note this is on the following custom branches: |
Hey, @chriselrod . Thanks for the issue. The adjoint of Tropical numbers are not well defined. julia> (Matrix(td') * Matrix(td'))[1:10, 1:10]
ERROR: MethodError: no method matching conj(::TropicalF32)
Closest candidates are:
conj(::Union{LinearAlgebra.Hermitian{T, S}, LinearAlgebra.Symmetric{T, S}} where {T, S}) at ~/.julia/juliaup/julia-1.8.3+0.x64.linux.gnu/share/julia/stdlib/v1.8/LinearAlgebra/src/symmetric.jl:368
conj(::LinearAlgebra.UniformScaling) at ~/.julia/juliaup/julia-1.8.3+0.x64.linux.gnu/share/julia/stdlib/v1.8/LinearAlgebra/src/uniformscaling.jl:123
conj(::LinearAlgebra.Adjoint) at ~/.julia/juliaup/julia-1.8.3+0.x64.linux.gnu/share/julia/stdlib/v1.8/LinearAlgebra/src/adjtrans.jl:345
...
Stacktrace:
[1] adjoint(x::TropicalF32)
@ Base ./number.jl:213 So I am confused why julia> @time(Octavian.matmul!(tr, transpose(td), transpose(td))); The result is correct. My package versions
|
If you're curious, the motivation was this slack discussion: https://julialang.slack.com/archives/C67TK21LJ/p1670593631969889 I can confirm that |
e.g.
while it works for
Float64
:The text was updated successfully, but these errors were encountered: