Skip to content

Commit

Permalink
removed unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed May 22, 2012
1 parent 516773c commit 18894b6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/shogun/machine/KernelMachine.cpp
Expand Up @@ -250,12 +250,6 @@ CBinaryLabels* CKernelMachine::apply_binary(CFeatures* data)

SGVector<float64_t> CKernelMachine::apply_get_outputs(CFeatures* data)
{
if (is_data_locked())
{
SG_ERROR("CKernelMachine::apply(CFeatures*) cannot be called when "
"data_lock was called before. Call data_unlock to allow.");
}

if (!kernel)
SG_ERROR("No kernel assigned!\n");

Expand Down

0 comments on commit 18894b6

Please sign in to comment.