Skip to content

Commit

Permalink
Fixed more guards in GPs
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Sep 2, 2012
1 parent 47ed83f commit f89d7b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/shogun/regression/gp/FITCInferenceMethod.h
Expand Up @@ -15,7 +15,7 @@
#define CFITCINFERENCEMETHOD_H_

#include <shogun/lib/config.h>

#ifdef HAVE_EIGEN3
#ifdef HAVE_LAPACK

#include <shogun/regression/gp/InferenceMethod.h>
Expand Down Expand Up @@ -221,6 +221,7 @@ class CFITCInferenceMethod: public CInferenceMethod
};

}
#endif // HAVE_EIGEN3
#endif // HAVE_LAPACK

#endif /* CFITCInferenceMethod_H_ */
Expand Down
4 changes: 1 addition & 3 deletions src/shogun/regression/gp/GaussianLikelihood.cpp
Expand Up @@ -7,10 +7,8 @@
* Copyright (C) 2012 Jacob Walker
*/


#ifdef HAVE_EIGEN3

#include <shogun/regression/gp/GaussianLikelihood.h>
#ifdef HAVE_EIGEN3
#include <shogun/modelselection/ParameterCombination.h>
#include <shogun/mathematics/eigen3.h>

Expand Down

0 comments on commit f89d7b8

Please sign in to comment.