Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /home/mohith/Desktop/mlpack-2.0.1/src/mlpack/../mlpack/methods/kmeans/kmeans.hpp:199:0,
- from /home/mohith/Desktop/mlpack-2.0.1/src/mlpack/methods/gmm/em_fit.hpp:22,
- from /home/mohith/Desktop/mlpack-2.0.1/src/mlpack/methods/gmm/gmm.hpp:22,
- from /home/mohith/Desktop/mlpack-2.0.1/src/mlpack/methods/gmm/gmm.cpp:16:
- /home/mohith/Desktop/mlpack-2.0.1/src/mlpack/../mlpack/methods/kmeans/kmeans_impl.hpp: In member function ‘void mlpack::kmeans::KMeans<MetricType, InitialPartitionPolicy, EmptyClusterPolicy, LloydStepType, MatType>::Cluster(const MatType&, size_t, arma::mat&, bool)’:
- /home/mohith/Desktop/mlpack-2.0.1/src/mlpack/../mlpack/methods/kmeans/kmeans_impl.hpp:178:20: error: there are no arguments to ‘isnan’ that depend on a template parameter, so a declaration of ‘isnan’ must be available [-fpermissive]
- if (isnan(cNorm) || isinf(cNorm))
- ^
- /home/mohith/Desktop/mlpack-2.0.1/src/mlpack/../mlpack/methods/kmeans/kmeans_impl.hpp:178:20: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
- /home/mohith/Desktop/mlpack-2.0.1/src/mlpack/../mlpack/methods/kmeans/kmeans_impl.hpp:178:36: error: there are no arguments to ‘isinf’ that depend on a template parameter, so a declaration of ‘isinf’ must be available [-fpermissive]
- if (isnan(cNorm) || isinf(cNorm))
- ^
- src/mlpack/CMakeFiles/mlpack.dir/build.make:686: recipe for target 'src/mlpack/CMakeFiles/mlpack.dir/methods/gmm/gmm.cpp.o' failed
- make[2]: *** [src/mlpack/CMakeFiles/mlpack.dir/methods/gmm/gmm.cpp.o] Error 1
- CMakeFiles/Makefile2:165: recipe for target 'src/mlpack/CMakeFiles/mlpack.dir/all' failed
- make[1]: *** [src/mlpack/CMakeFiles/mlpack.dir/all] Error 2
- Makefile:127: recipe for target 'all' failed
- make: *** [all] Error 2
Add Comment
Please, Sign In to add comment