Skip to content

Commit

Permalink
ifdef HAVE_ARPACK example to not fail on buildbot test
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed Aug 26, 2011
1 parent d8986e9 commit c5e08d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/undocumented/libshogun/mathematics_arpack.cpp
Expand Up @@ -9,6 +9,7 @@
*/

#include <shogun/base/init.h>
#include <shogun/lib/config.h>
#include <shogun/mathematics/arpack.h>

using namespace shogun;
Expand All @@ -17,6 +18,7 @@ int main(int argc, char** argv)
{
init_shogun();

#ifdef HAVE_ARPACK
int N = 100;
int nev = 2;

Expand Down Expand Up @@ -46,6 +48,7 @@ int main(int argc, char** argv)
delete[] eigenvalues;
delete[] eigenvectors;
delete[] matrix;
#endif // HAVE_ARPACK

exit_shogun();
return 0;
Expand Down

0 comments on commit c5e08d9

Please sign in to comment.