Skip to content

Commit

Permalink
Merge pull request #2294 from lambday/develop
Browse files Browse the repository at this point in the history
prevent failure in class_list.cpp when LAPACK is not present
  • Loading branch information
lambday committed Jun 11, 2014
2 parents cac56dd + f3e1f59 commit df92341
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/shogun/statistics/MMDKernelSelectionCombMaxL2.h
Expand Up @@ -68,6 +68,11 @@ class CMMDKernelSelectionCombMaxL2: public CMMDKernelSelectionComb
* used for testing/evaluation!
*/
virtual SGVector<float64_t> compute_measures();
#else
/** In absense of LAPACK this method is pure virtual. Required to put this
* here in order to prevent failure in class_list.cpp when LAPACK is absent
*/
virtual SGVector<float64_t> compute_measures()=0;
#endif

/** @return name of the SGSerializable */
Expand Down
5 changes: 5 additions & 0 deletions src/shogun/statistics/MMDKernelSelectionCombOpt.h
Expand Up @@ -73,6 +73,11 @@ class CMMDKernelSelectionCombOpt: public CMMDKernelSelectionComb
* used for testing/evaluation!
*/
virtual SGVector<float64_t> compute_measures();
#else
/** In absense of LAPACK this method is pure virtual. Required to put this
* here in order to prevent failure in class_list.cpp when LAPACK is absent
*/
virtual SGVector<float64_t> compute_measures()=0;
#endif

/** @return name of the SGSerializable */
Expand Down

0 comments on commit df92341

Please sign in to comment.