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

pull cloning all parameterers out to a seperate method #3646

Merged
merged 1 commit into from
Feb 20, 2017

Conversation

karlnapf
Copy link
Member

No description provided.

@karlnapf karlnapf force-pushed the feature/clone_refactor branch 4 times, most recently from 5b9e152 to a57b7c7 Compare February 20, 2017 12:12
REQUIRE(!strcmp(other->get_name(), get_name()),
"Name of provided instance (%s) must match this instance (%d).\n",
other->get_name(), get_name());

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing whitespace


SG_DEBUG("leaving %s::clone(): Clone successful\n", get_name());
return copy;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing whitespace

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()),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong format specifier %d

@karlnapf karlnapf force-pushed the feature/clone_refactor branch 2 times, most recently from 0f47b04 to 4845441 Compare February 20, 2017 15:15
@karlnapf
Copy link
Member Author

Travis error unrelated, merging

@karlnapf karlnapf merged commit ce65285 into shogun-toolbox:develop Feb 20, 2017
@karlnapf karlnapf deleted the feature/clone_refactor branch February 20, 2017 16:42
karasikov pushed a commit to karasikov/shogun that referenced this pull request Apr 15, 2017
…factor

pull cloning all parameterers out to a seperate method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants