projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d21394
)
Fix upper bound for subscript in ordered_cols.
author
Jason H Stover
<jhs@franz.gcsu.edu>
Sun, 25 Jul 2010 16:34:46 +0000
(12:34 -0400)
committer
Jason H Stover
<jhs@franz.gcsu.edu>
Sun, 25 Jul 2010 16:34:46 +0000
(12:34 -0400)
lib/linreg/sweep.c
patch
|
blob
|
history
diff --git
a/lib/linreg/sweep.c
b/lib/linreg/sweep.c
index 7d7dfc917fb3d846bdb29d7cc34564a8ea06b1d5..0dfa71fb6ac0468bcf058763d1894c5e25c287fc 100644
(file)
--- a/
lib/linreg/sweep.c
+++ b/
lib/linreg/sweep.c
@@
-88,7
+88,7
@@
reg_sweep (gsl_matrix * A, int last_col)
{
ordered_cols[i] = i;
}
- for (i = last_col + 1; i < A->size1
- 1
; i++)
+ for (i = last_col + 1; i < A->size1; i++)
{
ordered_cols[i - 1] = i;
}