Skip to content

Commit

Permalink
add floatmax_t implementation to LAR
Browse files Browse the repository at this point in the history
this way the realdispatcher will not cause undefined reference error
  • Loading branch information
vigsterkr committed Sep 28, 2018
1 parent 574766d commit e338426
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shogun/regression/LeastAngleRegression.cpp
Expand Up @@ -419,7 +419,9 @@ SGMatrix<ST> CLeastAngleRegression::cholesky_delete(SGMatrix<ST>& R, int32_t i_k
return nR;
}

template bool CLeastAngleRegression::train_machine_templated<floatmax_t>(CDenseFeatures<floatmax_t> * data);
template bool CLeastAngleRegression::train_machine_templated<float64_t>(CDenseFeatures<float64_t> * data);
template bool CLeastAngleRegression::train_machine_templated<float32_t>(CDenseFeatures<float32_t> * data);
template SGMatrix<float32_t> CLeastAngleRegression::cholesky_insert(const SGMatrix<float32_t>& X, const SGMatrix<float32_t>& X_active, SGMatrix<float32_t>& R, int32_t i_max_corr, int32_t num_active);
template SGMatrix<float64_t> CLeastAngleRegression::cholesky_insert(const SGMatrix<float64_t>& X, const SGMatrix<float64_t>& X_active, SGMatrix<float64_t>& R, int32_t i_max_corr, int32_t num_active);
template SGMatrix<floatmax_t> CLeastAngleRegression::cholesky_insert(const SGMatrix<floatmax_t>& X, const SGMatrix<floatmax_t>& X_active, SGMatrix<floatmax_t>& R, int32_t i_max_corr, int32_t num_active);

0 comments on commit e338426

Please sign in to comment.