From fc3c714a8268245d16437e953646effe1e4fd7c8 Mon Sep 17 00:00:00 2001 From: cjlin Date: Fri, 21 Aug 2009 14:04:11 +0000 Subject: [PATCH] correct the comment on instance weights --- linear.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linear.cpp b/linear.cpp index 74978c3..bd6271c 100644 --- a/linear.cpp +++ b/linear.cpp @@ -923,7 +923,7 @@ static void solve_l1_l2_svc( feature_node *x; // To support weights for instances, - // replace C[y[ind]] with C[i]. + // replace C[y[i]] with C[i]. double C[2] = {Cn,Cp}; for(i=0; i