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

Boy scout rule: Fixed format strings of uint/char SGVector::display_vector() methods. #1307

Merged
merged 1 commit into from Jul 25, 2013

Conversation

tklein23
Copy link
Contributor

No description provided.

@karlnapf
Copy link
Member

thanks for that!

karlnapf added a commit that referenced this pull request Jul 25, 2013
Boy scout rule: Fixed format strings of uint/char SGVector::display_vector() methods.
@karlnapf karlnapf merged commit 6751620 into shogun-toolbox:develop Jul 25, 2013
@tklein23 tklein23 deleted the display_sgvector branch July 25, 2013 15:29
@tklein23
Copy link
Contributor Author

@sonney2k: Did I eventually broke something by changing the output of "display_vector"? I changed the format string from "%c" to "%d", because the output was empty.

Now I realized I only tested on 0 and 1 - which are unprintable characters.

@iglesias
Copy link
Collaborator

Hmm, since the vector is made of chars, I think that %c was correct.

@tklein23
Copy link
Contributor Author

I'll undo it.

@tklein23
Copy link
Contributor Author

Made a new PR #1308

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.

None yet

3 participants