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:
9973224
)
Remove useless code
author
John Darrington
<john@darrington.wattle.id.au>
Sun, 13 Nov 2011 19:26:29 +0000
(20:26 +0100)
committer
John Darrington
<john@darrington.wattle.id.au>
Sun, 13 Nov 2011 19:26:29 +0000
(20:26 +0100)
src/math/covariance.c
patch
|
blob
|
history
diff --git
a/src/math/covariance.c
b/src/math/covariance.c
index be53672d709fe5ed419d1c76361c1bb8450ea10d..8e9f1db14bda67435e316049507196e476bae302 100644
(file)
--- a/
src/math/covariance.c
+++ b/
src/math/covariance.c
@@
-631,22
+631,6
@@
covariance_calculate (struct covariance *cov)
static gsl_matrix *
covariance_calculate_double_pass_unnormalized (struct covariance *cov)
{
- size_t i, j;
- for (i = 0 ; i < cov->dim; ++i)
- {
- for (j = 0 ; j < cov->dim; ++j)
- {
- int idx;
- double *x = gsl_matrix_ptr (cov->moments[MOMENT_VARIANCE], i, j);
-
- idx = cm_idx (cov, i, j);
- if ( idx >= 0)
- {
- x = &cov->cm [idx];
- }
- }
- }
-
return cm_to_gsl (cov);
}