Skip to content

Commit

Permalink
use idx
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed May 10, 2012
1 parent bee313d commit 717f885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/machine/KernelMachine.cpp
Expand Up @@ -424,7 +424,7 @@ void* CKernelMachine::apply_helper(void* p)

/* eventually use index mapping if exists */
index_t idx=params->indices ? params->indices[vec] : vec;
result->set_label(vec, kernel_machine->apply(vec));
result->set_label(vec, kernel_machine->apply(idx));
}

return NULL;
Expand Down

0 comments on commit 717f885

Please sign in to comment.