Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes error message #654

Merged
merged 1 commit into from Jul 17, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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