Skip to content

Commit

Permalink
Fix SGObjects type error message (#4171)
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Feb 12, 2018
1 parent 03158ae commit 1a314a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shogun/base/SGObject.h
Expand Up @@ -398,7 +398,8 @@ class CSGObject
{
SG_ERROR(
"Get \"%s\" failed. Expected %s, got %s.\n",
exc.expected().c_str(), exc.actual().c_str());
_tag.name().c_str(), exc.expected().c_str(),
exc.actual().c_str());
}
// we won't be there
return any_cast<T>(value);
Expand Down

0 comments on commit 1a314a6

Please sign in to comment.