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

Parallel is buggy in Linux #1234

Closed
mlnotes opened this issue Jul 11, 2013 · 0 comments
Closed

Parallel is buggy in Linux #1234

mlnotes opened this issue Jul 11, 2013 · 0 comments

Comments

@mlnotes
Copy link

mlnotes commented Jul 11, 2013

in file src/shogun/base/parallel.cpp line 13, you write this:

#if defined(LINUX) && defined(_SC_NPROCESSORS_ONLN)
#include <unistd.h>

while _SC_NPROCESSORS_ONLN is defined in unistd.h, so I think you may write:

#if defined(LINUX)
#include <unistd.h>
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

No branches or pull requests

2 participants