diff --git a/opennn/kmeans.cpp b/opennn/kmeans.cpp index b32dad0ba..62ad3fa3a 100755 --- a/opennn/kmeans.cpp +++ b/opennn/kmeans.cpp @@ -25,9 +25,9 @@ #include "../../opennn/opennn/opennn.h" -using namespace OpenNN; +using namespace opennn; -namespace OpenNN +namespace opennn { diff --git a/opennn/kmeans.h b/opennn/kmeans.h index 8ca362e14..ed47a3f91 100755 --- a/opennn/kmeans.h +++ b/opennn/kmeans.h @@ -30,16 +30,12 @@ // System includes -//#include -//#include //#include -//#include //#include //#include //#include //#include //#include "unsupported/Eigen/CXX11/Tensor" -//#include "config.h" // OpenNN includes @@ -50,7 +46,7 @@ using opennn::type; using Eigen::Index; using namespace std; -namespace OpenNN +namespace opennn { class KMeans diff --git a/opennn/tensor_utilities.cpp b/opennn/tensor_utilities.cpp index ce6e1aa30..a757fb85d 100644 --- a/opennn/tensor_utilities.cpp +++ b/opennn/tensor_utilities.cpp @@ -10,7 +10,6 @@ #define GET_VARIABLE_NAME(Variable) (#Variable) - namespace opennn { diff --git a/opennn/tensor_utilities.h b/opennn/tensor_utilities.h index 343f94272..79faf038d 100644 --- a/opennn/tensor_utilities.h +++ b/opennn/tensor_utilities.h @@ -13,12 +13,12 @@ #include #include #include -#include // OpenNN includes #include "config.h" #include "opennn_strings.h" +#include "statistics.h" #include "../eigen/unsupported/Eigen/KroneckerProduct"