Fix implicit conversions and unused variables (Reference-LAPACK PR 703)
This commit is contained in:
parent
0c2aa0bed7
commit
a485e4f515
|
@ -49,11 +49,9 @@
|
||||||
|
|
||||||
LAPACKE_dgels (row-major, high-level) Example Program Results
|
LAPACKE_dgels (row-major, high-level) Example Program Results
|
||||||
|
|
||||||
-- LAPACKE Example routine (version 3.7.0) --
|
-- LAPACKE Example routine --
|
||||||
-- LAPACK is a software package provided by Univ. of Tennessee, --
|
-- LAPACK is a software package provided by Univ. of Tennessee, --
|
||||||
-- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
|
-- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
|
||||||
December 2016
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
/* Calling DGELS using row-major layout */
|
/* Calling DGELS using row-major layout */
|
||||||
|
|
||||||
|
@ -66,8 +64,8 @@
|
||||||
int main (int argc, const char * argv[])
|
int main (int argc, const char * argv[])
|
||||||
{
|
{
|
||||||
/* Locals */
|
/* Locals */
|
||||||
double A[5][3] = {1,1,1,2,3,4,3,5,2,4,2,5,5,4,3};
|
double A[5][3] = {{1,1,1},{2,3,4},{3,5,2},{4,2,5},{5,4,3}};
|
||||||
double b[5][2] = {-10,-3,12,14,14,12,16,16,18,16};
|
double b[5][2] = {{-10,-3},{12,14},{14,12},{16,16},{18,16}};
|
||||||
lapack_int info,m,n,lda,ldb,nrhs;
|
lapack_int info,m,n,lda,ldb,nrhs;
|
||||||
|
|
||||||
/* Initialization */
|
/* Initialization */
|
||||||
|
|
Loading…
Reference in New Issue