native: always return optimum lwork in work[0]

This commit is contained in:
Vladimir Chalupecky
2017-02-05 20:48:11 +01:00
parent 6a00e18528
commit 04b8feeaa9

View File

@@ -95,4 +95,5 @@ func (impl Implementation) Dorgtr(uplo blas.Uplo, n int, a []float64, lda int, t
impl.Dorgqr(n-1, n-1, n-1, a[lda+1:], lda, tau, work, lwork)
}
}
work[0] = float64(lworkopt)
}