Guest User

Untitled

a guest
Jun 19th, 2016
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. In file included from /home/mohith/Desktop/mlpack-2.0.1/src/mlpack/../mlpack/methods/kmeans/kmeans.hpp:199:0,
  2. from /home/mohith/Desktop/mlpack-2.0.1/src/mlpack/methods/gmm/em_fit.hpp:22,
  3. from /home/mohith/Desktop/mlpack-2.0.1/src/mlpack/methods/gmm/gmm.hpp:22,
  4. from /home/mohith/Desktop/mlpack-2.0.1/src/mlpack/methods/gmm/gmm.cpp:16:
  5. /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)’:
  6. /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]
  7. if (isnan(cNorm) || isinf(cNorm))
  8. ^
  9. /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)
  10. /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]
  11. if (isnan(cNorm) || isinf(cNorm))
  12. ^
  13. src/mlpack/CMakeFiles/mlpack.dir/build.make:686: recipe for target 'src/mlpack/CMakeFiles/mlpack.dir/methods/gmm/gmm.cpp.o' failed
  14. make[2]: *** [src/mlpack/CMakeFiles/mlpack.dir/methods/gmm/gmm.cpp.o] Error 1
  15. CMakeFiles/Makefile2:165: recipe for target 'src/mlpack/CMakeFiles/mlpack.dir/all' failed
  16. make[1]: *** [src/mlpack/CMakeFiles/mlpack.dir/all] Error 2
  17. Makefile:127: recipe for target 'all' failed
  18. make: *** [all] Error 2
Add Comment
Please, Sign In to add comment