Comments (2)
Your stacktrace indicates that you don't use the latest version of PDMats. PDMats 0.11.3 defines isposdef
and hence you should not end up with the fallback definition in LinearAlgebra.
from pdmats.jl.
I checked and I can reproduce the issue with PDMats 0.11.2. However, as expected, it is fixed in PDMats 0.11.3:
(@v1.6) pkg> activate --temp
Activating new environment at `/tmp/jl_AJ3u6A/Project.toml`
(jl_AJ3u6A) pkg> add PDMats
Updating registry at `~/.julia/registries/General`
Resolving package versions...
Updating `/tmp/jl_AJ3u6A/Project.toml`
[90014a1f] + PDMats v0.11.3
Updating `/tmp/jl_AJ3u6A/Manifest.toml`
[90014a1f] + PDMats v0.11.3
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[9a3f8284] + Random
[9e88b42a] + Serialization
[2f01184e] + SparseArrays
[4607b0f0] + SuiteSparse
julia> using PDMats, LinearAlgebra
julia> x = rand(4,4)
4×4 Matrix{Float64}:
0.78919 0.171766 0.839576 0.446731
0.416406 0.96419 0.0670805 0.788688
0.759789 0.67533 0.945455 0.73147
0.923695 0.436137 0.516336 0.488594
julia> pdm = PDMat(x'*x)
4×4 PDMat{Float64, Matrix{Float64}}:
2.22671 1.45302 1.8858 1.68805
1.45302 1.60545 1.07258 1.54426
1.8858 1.07258 1.86988 1.37182
1.68805 1.54426 1.37182 1.59537
julia> isposdef(pdm)
true
Since it's fixed in the latest release I'll close the issue 🙂
from pdmats.jl.
Related Issues (20)
- Design question/discussion: PDMat without constructing full matrix HOT 1
- `chol_lower` does not avoid allocations
- StackOverflowError during type inference on PDMats 0.11.5 HOT 5
- Support for StaticArrays HOT 4
- Support for BandedMatrices HOT 2
- Generalize PDMat constructor from Cholesky
- Add `invwhiten` and `invunwhiten`
- Problems with Zygote and the `PDMat` constructor HOT 21
- v0.11.8 could be breaking for downstream packages HOT 2
- Missing Method for StaticArrays
- Don't export `dim` HOT 4
- LowerTriangular matrix multiplication for Static Vector missing HOT 2
- Make SparseArrays a weak dependency? HOT 3
- Missing `*` method for `PDiagMat`
- Avoid Disrupting Array Types HOT 2
- `X_A_Xt` symmetric output breaks addition and subraction typing with static PDMats HOT 15
- Other factorizations: parametrization or new names? HOT 1
- Multiplication of `PDMat` with a scalar recomputes the Cholesky factorization
- gemm! alias HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdmats.jl.