Changeset 2223 for trunk/yat/classifier/KernelLookup.cc
- Timestamp:
- Mar 19, 2010, 4:30:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/classifier/KernelLookup.cc
r2119 r2223 140 140 { 141 141 assert(weighted()); 142 return MatrixLookupWeighted(kernel_->data_weighted(),column_index_,false); 142 using utility::Index; // just to avoid long line 143 return MatrixLookupWeighted(kernel_->data_weighted(), 144 Index(kernel_->data_weighted().rows()), 145 column_index_); 143 146 } 144 147 … … 187 190 if (kernel_->weighted()){ 188 191 const MatrixLookupWeighted* ms = 189 new MatrixLookupWeighted(data_weighted(),inputs,true); 192 new MatrixLookupWeighted(data_weighted(),inputs, 193 utility::Index(data_weighted().columns())); 190 194 kernel = kernel_->make_kernel(*ms, true); 191 195 }
Note: See TracChangeset
for help on using the changeset viewer.