Advertisement
Guest User

Untitled

a guest
Jul 6th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. /home/heiko/git/shogun/src/shogun/clustering/KMeansBase.cpp: In member function ‘void shogun::CKMeansBase::init()’:
  2. /home/heiko/git/shogun/src/shogun/clustering/KMeansBase.cpp:367:67: error: no matching function for call to ‘shogun::CKMeansBase::watch_method(const char [16], shogun::SGMatrix<double> (shogun::CKMeansBase::*)())’
  3. watch_method("cluster_centers", &CKMeansBase::get_cluster_centers);
  4. ^
  5. In file included from /home/heiko/git/shogun/src/shogun/mathematics/Random.h:13:0,
  6. from /home/heiko/git/shogun/src/shogun/mathematics/Math.h:18,
  7. from /home/heiko/git/shogun/src/shogun/lib/Cache.h:14,
  8. from /home/heiko/git/shogun/src/shogun/features/DenseFeatures.h:15,
  9. from /home/heiko/git/shogun/src/shogun/clustering/KMeansBase.h:14,
  10. from /home/heiko/git/shogun/src/shogun/clustering/KMeansBase.cpp:7:
  11. /home/heiko/git/shogun/src/shogun/base/SGObject.h:720:7: note: candidate: template<class T, class S> void shogun::CSGObject::watch_method(const string&, T (S::*)() const)
  12. void watch_method(const std::string& name, T (S::*method)() const)
  13. ^
  14. /home/heiko/git/shogun/src/shogun/base/SGObject.h:720:7: note: template argument deduction/substitution failed:
  15. /home/heiko/git/shogun/src/shogun/clustering/KMeansBase.cpp:367:67: note: types ‘T (S::)() const’ and ‘shogun::SGMatrix<double> (shogun::CKMeansBase::)()’ have incompatible cv-qualifiers
  16. watch_method("cluster_centers", &CKMeansBase::get_cluster_centers);
  17. ^
  18. src/shogun/CMakeFiles/libshogun.dir/build.make:3341: recipe for target 'src/shogun/CMakeFiles/libshogun.dir/clustering/KMeansBase.cpp.o' failed
  19. make[3]: *** [src/shogun/CMakeFiles/libshogun.dir/clustering/KMeansBase.cpp.o] Error 1
  20. make[3]: *** Waiting for unfinished jobs....
  21. CMakeFiles/Makefile2:132: recipe for target 'src/shogun/CMakeFiles/libshogun.dir/all' failed
  22. make[2]: *** [src/shogun/CMakeFiles/libshogun.dir/all] Error 2
  23. CMakeFiles/Makefile2:144: recipe for target 'src/shogun/CMakeFiles/libshogun.dir/rule' failed
  24. make[1]: *** [src/shogun/CMakeFiles/libshogun.dir/rule] Error 2
  25. Makefile:208: recipe for target 'libshogun' failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement