Skip to content

Commit

Permalink
fixes a compile error when LAPACK isnt installed
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed Jul 13, 2012
1 parent 9368244 commit c464e7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shogun/statistics/LinearTimeMMD.cpp
Expand Up @@ -55,6 +55,7 @@ CLinearTimeMMD::~CLinearTimeMMD()

void CLinearTimeMMD::init()
{
#ifdef HAVE_LAPACK
SG_ADD(&m_opt_max_iterations, "opt_max_iterations", "Maximum number of "
"iterations for qp solver", MS_NOT_AVAILABLE);
SG_ADD(&m_opt_epsilon, "opt_epsilon", "Stopping criterion for qp solver",
Expand All @@ -68,6 +69,7 @@ void CLinearTimeMMD::init()
m_opt_epsilon=10E-15;
m_opt_low_cut=10E-7;
m_opt_regularization_eps=0;
#endif //HAVE_LAPACK
}

float64_t CLinearTimeMMD::compute_statistic()
Expand Down

0 comments on commit c464e7a

Please sign in to comment.