Skip to content

Commit

Permalink
fix cygwin compile error (ifdef HAVE_ATLAS not HAVE_LAPACK)
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed Nov 25, 2012
1 parent a127917 commit 74c38fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shogun/lib/SGVector.cpp
Expand Up @@ -69,7 +69,7 @@ void SGVector<T>::set_const(T const_elem)
vector[i]=const_elem ;
}

#if HAVE_LAPACK
#if HAVE_ATLAS
template<>
void SGVector<float64_t>::set_const(float64_t const_elem)
{
Expand All @@ -81,7 +81,7 @@ void SGVector<float32_t>::set_const(float32_t const_elem)
{
catlas_sset(vlen, const_elem, vector, 1);
}
#endif
#endif // HAVE_ATLAS

template<class T>
void SGVector<T>::range_fill(T start)
Expand Down

0 comments on commit 74c38fc

Please sign in to comment.