projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
C99 feature removed.
[libfirm]
/
ir
/
adt
/
gaussseidel.c
diff --git
a/ir/adt/gaussseidel.c
b/ir/adt/gaussseidel.c
index
be0651d
..
10a6ac4
100644
(file)
--- a/
ir/adt/gaussseidel.c
+++ b/
ir/adt/gaussseidel.c
@@
-226,7
+226,8
@@
double gs_matrix_get(const gs_matrix_t *m, int row, int col)
return the_row->diag != 0.0 ? 1.0 / the_row->diag : 0.0;
// Search for correct column
return the_row->diag != 0.0 ? 1.0 / the_row->diag : 0.0;
// Search for correct column
- for (c = 0; c < the_row->n_cols && the_row->cols[c].col_idx < col; ++c);
+ for (c = 0; c < the_row->n_cols && the_row->cols[c].col_idx < col; ++c) {
+ }
if (c >= the_row->n_cols || the_row->cols[c].col_idx > col)
return 0.0;
if (c >= the_row->n_cols || the_row->cols[c].col_idx > col)
return 0.0;