Skip to content

Commit

Permalink
another check for LAPACK
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed Jun 11, 2012
1 parent 27f5fd1 commit 0e9be8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shogun/statistics/QuadraticTimeMMD.cpp
Expand Up @@ -100,6 +100,7 @@ float64_t CQuadraticTimeMMD::compute_p_value(float64_t statistic)

switch (m_p_value_method)
{
#ifdef HAVE_LAPACK
case MMD2_SPECTRUM:
{
/* get samples from null-distribution and compute p-value of statistic */
Expand All @@ -110,6 +111,7 @@ float64_t CQuadraticTimeMMD::compute_p_value(float64_t statistic)
result=1.0-pos/null_samples.vlen;
break;
}
#endif // HAVE_LAPACK
case MMD2_GAMMA:
result=compute_p_value_gamma(statistic);
break;
Expand Down

0 comments on commit 0e9be8c

Please sign in to comment.