#include "gaussseidel.h"
#include "util.h"
-#define MAX(x,y) ((x) > (y) ? (x) : (y))
-#define MIN(x,y) ((x) < (y) ? (x) : (y))
-
/**
* The number of newly allocated rows (realloc)
* when there is no more room. Must be >= 1.
cols = the_row->cols;
min = 0;
max = the_row->n_cols;
- c = (max+min)/2;
+ c = max/2;
while (min < max) {
int idx = cols[c].col_idx;
if (idx < col)