Browse Source

Fix implicit conversions and unused variables (Reference-LAPACK PR 703)

tags/v0.3.22^2
Martin Kroeker GitHub 3 years ago
parent
commit
a485e4f515
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      lapack-netlib/LAPACKE/example/example_DGELS_rowmajor.c

+ 3
- 5
lapack-netlib/LAPACKE/example/example_DGELS_rowmajor.c View File

@@ -49,11 +49,9 @@

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, --
-- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
December 2016

*/
/* Calling DGELS using row-major layout */

@@ -66,8 +64,8 @@
int main (int argc, const char * argv[])
{
/* Locals */
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 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}};
lapack_int info,m,n,lda,ldb,nrhs;

/* Initialization */


Loading…
Cancel
Save