Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #654 from karlnapf/master
fixes error message
  • Loading branch information
karlnapf committed Jul 17, 2012
2 parents db4985d + 76c6df3 commit 32e09ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/shogun/machine/KernelMulticlassMachine.cpp
Expand Up @@ -18,14 +18,15 @@ void CKernelMulticlassMachine::store_model_features()
{
CKernel *kernel=((CKernelMachine *)m_machine)->get_kernel();
if (!kernel)
SG_ERROR("kernel is needed to store SV features.\n");
SG_ERROR("%s::store_model_features(): kernel is needed to store SV "
"features.\n", get_name());

CFeatures* lhs=kernel->get_lhs();
CFeatures* rhs=kernel->get_rhs();
if (!lhs)
{
SG_ERROR("%s::store_model_features(): kernel lhs is needed to store "
"SV features.\n");
"SV features.\n", get_name());
}

/* this map will be abused as a map */
Expand Down

0 comments on commit 32e09ac

Please sign in to comment.