Skip to content
Snippets Groups Projects
Commit e62e6519 authored by Charles Bouillaguet's avatar Charles Bouillaguet
Browse files

suppressed some compilation warnings

parent 4b045d74
Branches
Tags v0.2
No related merge requests found
......@@ -3,7 +3,7 @@
#include "spasm.h"
spasm_lu * spasm_PLUQ(const spasm *A) {
int n, m, i, j, r, px, k;
int m, i, j, r, px, k;
int *Up, *Uj, *qinv;
spasm *U, *L, *LL;
spasm_lu *N;
......@@ -15,7 +15,6 @@ spasm_lu * spasm_PLUQ(const spasm *A) {
Up = U->p;
Uj = U->j;
qinv = N->qinv;
n = A->n;
m = A->m;
k = 1;
......
......@@ -11,7 +11,7 @@ int spasm_PLUQ_solve(const spasm *A, const spasm_GFp *b, spasm_GFp *x) {
spasm_GFp *y;
spasm_lu *PLUQ;
spasm *L, *U;
int i, n, m, r, ok ;
int n, m, r, ok ;
/* check inputs */
assert(A != NULL);
......
......@@ -6,9 +6,8 @@ int main(int argc, char **argv) {
spasm_triplet *T;
spasm *A, *U, *L;
spasm_lu *PLUQ;
spasm_GFp *x, *y, *u, *v, *w, *z, *Lx;
spasm_GFp *x, *y, *u, *v, *w, *z;
int n, m, r, test, i, j;
int *Up, *Uj, *Lp, *Lj;
assert(argc > 1);
test = atoi(argv[1]);
......@@ -22,12 +21,7 @@ int main(int argc, char **argv) {
PLUQ = spasm_PLUQ(A);
U = PLUQ->U;
Up = U->p;
Uj = U->j;
L = PLUQ->L;
Lp = L->p;
Lj = L->j;
Lx = L->x;
r = U->n;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment