-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
the size of the RWORK array in zgesdd was wrong.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -858,7 +858,8 @@ for (geev, gesvd, gesdd, ggsvd, elty, relty) in | |
S = Array($relty, minmn) | ||
cmplx = iseltype(A,Complex) | ||
if cmplx | ||
rwork = Array($relty, job == 'N' ? 7*minmn : 5*minmn*minmn + 5*minmn) | ||
rwork = Array($relty, job == 'N' ? 5*minmn : | ||
minmn*max(5*minmn+7, 2*max(m,n)+2*minmn+1)) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
JeffBezanson
Author
Member
|
||
end | ||
iwork = Array(BlasInt, 8*minmn) | ||
info = Array(BlasInt, 1) | ||
|
3 comments
on commit 484a9f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This patch makes my tests segfault. Any idea why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the zgesdd docs, it seems like this should just be: