Skip to content

Commit

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

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

Expand Down

0 comments on commit bee313d

Please sign in to comment.