xtensor-stack / xtensor-blas

BLAS extension to xtensor
BSD 3-Clause "New" or "Revised" License
155 stars 54 forks source link

eigh size fix #233

Open MarcoMultichannel opened 11 months ago

MarcoMultichannel commented 11 months ago

Fixed eigh() when the Matrix is too big. The first time syevd is called is to get the work size, but sometimes the size returned is less than the minimum size allowed. Adding a simple condition fixed it for me.