Skip to content

Commit

Permalink
apply -> apply_one
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed May 21, 2012
1 parent c3e643d commit 8f5bf6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shogun/machine/MulticlassMachine.cpp
Expand Up @@ -86,9 +86,9 @@ float64_t CMulticlassMachine::get_submachine_output(int32_t i, int32_t num)
float64_t output;
// dirty hack
if (dynamic_cast<CLinearMachine*>(machine))
output = ((CLinearMachine*)machine)->apply(num);
output = ((CLinearMachine*)machine)->apply_one(num);
if (dynamic_cast<CKernelMachine*>(machine))
output = ((CKernelMachine*)machine)->apply(num);
output = ((CKernelMachine*)machine)->apply_one(num);
SG_UNREF(machine);
return output;
}
Expand Down

0 comments on commit 8f5bf6e

Please sign in to comment.