-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Error during perform isposdef
on own Matrix type at Julia 1.6
#55404
Labels
linear algebra
Linear algebra
Comments
Yes, relaxing many |
AnzhiZhang
added a commit
to TypedMatrices/TypedMatrices.jl
that referenced
this issue
Aug 7, 2024
not testing `isposdef` and `inv` before v1.10 See-Also: JuliaLang/julia#55404
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
The julia is installed via winget, and 1.6 installed by
juliaup
.julia> versioninfo() Julia Version 1.6.7 Commit 3b76b25b64 (2022-07-19 15:11 UTC) Platform Info: OS: Windows (x86_64-w64-mingw32) CPU: 11th Gen Intel(R) Core(TM) i5-11320H @ 3.20GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-11.0.1 (ORCJIT, tigerlake)
MRE
Output
julia> isposdef(m) ERROR: MethodError: no method matching cholesky(::Hermitian{Int64, TestMatrix{Int64}}; check=false) Closest candidates are: cholesky(::Number) at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\LinearAlgebra\src\cholesky.jl:406 got unsupported keyword argument "check" cholesky(::Number, ::Symbol) at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\LinearAlgebra\src\cholesky.jl:406 got unsupported keyword argument "check" cholesky(::Diagonal) at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\LinearAlgebra\src\diagonal.jl:725 got unsupported keyword argument "check" ... Stacktrace: [1] isposdef(A::TestMatrix{Int64}) @ LinearAlgebra C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\LinearAlgebra\src\dense.jl:91 [2] top-level scope @ REPL[19]:1
Related Code
1.10
1.6
There is no method accepts AbstractMatrix in Julia 1.6, so this will raise the above error.
The text was updated successfully, but these errors were encountered: