Skip to content

Instantly share code, notes, and snippets.

@lambday
Created May 28, 2013 18:46
Show Gist options
  • Save lambday/5665110 to your computer and use it in GitHub Desktop.
Save lambday/5665110 to your computer and use it in GitHub Desktop.
./features/DenseSubsetFeatures.h: In member function ‘float64_t shogun::CDenseSubsetFeatures<ST>::dot(int32_t, shogun::CDotFeatures*, int32_t) [with ST = std::complex<double>, float64_t = double, int32_t = int, shogun::CDotFeatures = shogun::CDotFeatures]’:
base/class_list.cpp:1609:1: instantiated from here
./features/DenseSubsetFeatures.h:132:4: error: no match for ‘operator+=’ in ‘sum += std::operator* [with _Tp = double]((*(const std::complex<double>*)vec1.shogun::SGVector<T>::operator[] [with T = std::complex<double>, index_t = int](((shogun::CDenseSubsetFeatures<std::complex<double> >*)this)->shogun::CDenseSubsetFeatures<std::complex<double> >::m_idx.shogun::SGVector<T>::operator[] [with T = int, index_t = int](i))), (*(const std::complex<double>*)vec2.shogun::SGVector<T>::operator[] [with T = std::complex<double>, index_t = int](dsf->shogun::CDenseSubsetFeatures<std::complex<double> >::m_idx.shogun::SGVector<T>::operator[] [with T = int, index_t = int](i))))’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment