aboutsummaryrefslogtreecommitdiff
path: root/src/gensvm_pred.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gensvm_pred.c')
-rw-r--r--src/gensvm_pred.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gensvm_pred.c b/src/gensvm_pred.c
index 43b27cc..1feb14a 100644
--- a/src/gensvm_pred.c
+++ b/src/gensvm_pred.c
@@ -31,7 +31,9 @@ void gensvm_predict_labels(struct GenData *testdata, struct GenModel *model,
long *predy)
{
long i, j, k, n, m, K, label;
- double norm, min_dist, *S, *ZV;
+ double norm, min_dist,
+ *S = NULL,
+ *ZV = NULL;
n = testdata->n;
m = testdata->r;