Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/heiko/git/shogun/src/shogun/clustering/KMeansBase.cpp: In member function ‘void shogun::CKMeansBase::init()’:
- /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::*)())’
- watch_method("cluster_centers", &CKMeansBase::get_cluster_centers);
- ^
- In file included from /home/heiko/git/shogun/src/shogun/mathematics/Random.h:13:0,
- from /home/heiko/git/shogun/src/shogun/mathematics/Math.h:18,
- from /home/heiko/git/shogun/src/shogun/lib/Cache.h:14,
- from /home/heiko/git/shogun/src/shogun/features/DenseFeatures.h:15,
- from /home/heiko/git/shogun/src/shogun/clustering/KMeansBase.h:14,
- from /home/heiko/git/shogun/src/shogun/clustering/KMeansBase.cpp:7:
- /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)
- void watch_method(const std::string& name, T (S::*method)() const)
- ^
- /home/heiko/git/shogun/src/shogun/base/SGObject.h:720:7: note: template argument deduction/substitution failed:
- /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
- watch_method("cluster_centers", &CKMeansBase::get_cluster_centers);
- ^
- src/shogun/CMakeFiles/libshogun.dir/build.make:3341: recipe for target 'src/shogun/CMakeFiles/libshogun.dir/clustering/KMeansBase.cpp.o' failed
- make[3]: *** [src/shogun/CMakeFiles/libshogun.dir/clustering/KMeansBase.cpp.o] Error 1
- make[3]: *** Waiting for unfinished jobs....
- CMakeFiles/Makefile2:132: recipe for target 'src/shogun/CMakeFiles/libshogun.dir/all' failed
- make[2]: *** [src/shogun/CMakeFiles/libshogun.dir/all] Error 2
- CMakeFiles/Makefile2:144: recipe for target 'src/shogun/CMakeFiles/libshogun.dir/rule' failed
- make[1]: *** [src/shogun/CMakeFiles/libshogun.dir/rule] Error 2
- Makefile:208: recipe for target 'libshogun' failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement