Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed failing when compiling mc liblinear w/o lapack
  • Loading branch information
lisitsyn committed Mar 12, 2012
1 parent 3ed0617 commit 207ee61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/shogun/multiclass/MulticlassLibLinear.cpp
Expand Up @@ -8,7 +8,8 @@
* Copyright (C) 2012 Sergey Lisitsyn
*/


#include <shogun/lib/config.h>
#ifdef HAVE_LAPACK
#include <shogun/multiclass/MulticlassLibLinear.h>
#include <shogun/classifier/svm/SVM_linear.h>
#include <shogun/mathematics/Math.h>
Expand Down Expand Up @@ -64,3 +65,4 @@ bool CMulticlassLibLinear::train_machine(CFeatures* data)

return true;
}
#endif /* HAVE_LAPACK */
3 changes: 2 additions & 1 deletion src/shogun/multiclass/MulticlassLibLinear.h
Expand Up @@ -10,7 +10,7 @@

#ifndef _MULTICLASSLIBLINEAR_H___
#define _MULTICLASSLIBLINEAR_H___

#ifdef HAVE_LAPACK
#include <shogun/lib/common.h>
#include <shogun/features/DotFeatures.h>
#include <shogun/machine/LinearMulticlassMachine.h>
Expand Down Expand Up @@ -131,4 +131,5 @@ class CMulticlassLibLinear : public CLinearMulticlassMachine
bool m_use_bias;
};
}
#endif /* HAVE_LAPACK */
#endif

0 comments on commit 207ee61

Please sign in to comment.