You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.
// ... lwork == -1 will not run Dormqr but will instead write the minimum
// work necessary to work[0]. If len(work) < lwork, Dormqr will panic.
The code does:
if lwork == -1 {
if left {
work[0] = float64(m)
return
}
work[0] = float64(n)
return
}
if left {
if lwork < n {
panic(badWork)
}
} else {
if lwork < m {
panic(badWork)
}
}
That is,
Values put into work[0] and checked values of lwork seem to be swapped.
len(work) < lwork is not checked.
The text was updated successfully, but these errors were encountered:
The comment says:
The code does:
That is,
The text was updated successfully, but these errors were encountered: