-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
pull cloning all parameterers out to a seperate method #3646
pull cloning all parameterers out to a seperate method #3646
Conversation
5b9e152
to
a57b7c7
Compare
src/shogun/base/SGObject.cpp
Outdated
REQUIRE(!strcmp(other->get_name(), get_name()), | ||
"Name of provided instance (%s) must match this instance (%d).\n", | ||
other->get_name(), get_name()); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing whitespace
src/shogun/base/SGObject.cpp
Outdated
|
||
SG_DEBUG("leaving %s::clone(): Clone successful\n", get_name()); | ||
return copy; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing whitespace
src/shogun/base/SGObject.cpp
Outdated
REQUIRE(other->m_parameters->get_num_parameters() == m_parameters->get_num_parameters(), | ||
"Number of parameters of provided instance (%d) must match this instance (%d).\n", | ||
other->m_parameters->get_num_parameters(), m_parameters->get_num_parameters()); | ||
REQUIRE(!strcmp(other->get_name(), get_name()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong format specifier %d
0f47b04
to
4845441
Compare
4845441
to
1f83d99
Compare
Travis error unrelated, merging |
…factor pull cloning all parameterers out to a seperate method
No description provided.