Similar to a prior change, there was a nested variable also called sz. By
removing this sz, we not only squash a compiler warning but make the code more
readable.
real* val;
real v;
int type = MATRIX_TYPE_REAL;
- size_t sz = sizeof(real);
char scluster[100];
float ff;
i++;
}
}
- A = SparseMatrix_from_coordinate_arrays(nedges, nnodes, nnodes, I, J, val, type, sz);
+ A = SparseMatrix_from_coordinate_arrays(nedges, nnodes, nnodes, I, J, val,
+ type, sizeof(real));
/* get clustering info */
*clusters = MALLOC(sizeof(int)*nnodes);