Skip to content

Commit

Permalink
Disable Conjugate Index classifier compilation without lapack/cblas
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Jan 7, 2012
1 parent c1a34bd commit 141080b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/shogun/classifier/ConjugateIndex.cpp
Expand Up @@ -9,6 +9,7 @@
*/

#include <shogun/classifier/ConjugateIndex.h>
#ifdef HAVE_LAPACK
#include <shogun/machine/Machine.h>
#include <shogun/features/Features.h>
#include <shogun/features/Labels.h>
Expand Down Expand Up @@ -238,5 +239,4 @@ float64_t CConjugateIndex::apply(int32_t index)
return predicted_label;
};



#endif /* HAVE_LAPACK */
4 changes: 2 additions & 2 deletions src/shogun/classifier/ConjugateIndex.h
Expand Up @@ -10,7 +10,7 @@

#ifndef CONJUGATEINDEX_H_
#define CONJUGATEINDEX_H_

#ifdef HAVE_LAPACK
#include <shogun/machine/Machine.h>
#include <shogun/mathematics/Math.h>
#include <shogun/features/SimpleFeatures.h>
Expand Down Expand Up @@ -124,5 +124,5 @@ class CConjugateIndex : public CMachine
};

}

#endif /* HAVE_LAPACK */
#endif /* CONJUGATEINDEX_H_ */

0 comments on commit 141080b

Please sign in to comment.