Commit bedf2161 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Silent warnings

parent 6c900181
...@@ -66,8 +66,7 @@ int testing_zgeqrf_qdwh(int argc, char **argv) ...@@ -66,8 +66,7 @@ int testing_zgeqrf_qdwh(int argc, char **argv)
int MxM = M * M; int MxM = M * M;
int LDA = 2*M; int LDA = 2*M;
double eps; double eps;
int info_ortho, info_solution, info_factorization; int info_ortho, info_factorization;
int i, j;
/** /**
* Compute A = QR with * Compute A = QR with
...@@ -169,7 +168,6 @@ check_orthogonality( int M, int N, ...@@ -169,7 +168,6 @@ check_orthogonality( int M, int N,
double alpha, beta; double alpha, beta;
double normQ; double normQ;
int info_ortho; int info_ortho;
int i;
int minMN = min(M, N); int minMN = min(M, N);
double *work = (double *)malloc(minMN*sizeof(double)); double *work = (double *)malloc(minMN*sizeof(double));
...@@ -219,13 +217,11 @@ check_factorization(int M, int N, ...@@ -219,13 +217,11 @@ check_factorization(int M, int N,
double eps ) double eps )
{ {
double Anorm, Rnorm; double Anorm, Rnorm;
MORSE_Complex64_t alpha, beta; MORSE_Complex64_t alpha;
int info_factorization; int info_factorization;
int i,j;
double *work = (double *)malloc(max(M,N)*sizeof(double)); double *work = (double *)malloc(max(M,N)*sizeof(double));
alpha = 1.0; alpha = 1.0;
beta = 0.0;
if (M >= N) { if (M >= N) {
/* Perform Q = Q * R */ /* Perform Q = Q * R */
......
...@@ -260,7 +260,6 @@ static int check_reduction(int M, int N, double *S, MORSE_Complex64_t *A, int LD ...@@ -260,7 +260,6 @@ static int check_reduction(int M, int N, double *S, MORSE_Complex64_t *A, int LD
{ {
MORSE_Complex64_t zone = 1.0; MORSE_Complex64_t zone = 1.0;
MORSE_Complex64_t mzone = -1.0; MORSE_Complex64_t mzone = -1.0;
MORSE_Complex64_t zzero = 0.0;
double Anorm, Rnorm, result; double Anorm, Rnorm, result;
int info_reduction; int info_reduction;
int i; int i;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment