diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f21ce4c5..4839e4f25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,7 +42,7 @@ target_include_directories(ensmallen INTERFACE if(MSVC) target_compile_options(ensmallen INTERFACE $) else() - target_compile_options(ensmallen INTERFACE $) + target_compile_options(ensmallen INTERFACE $) endif() # Find OpenMP and link it. diff --git a/include/ensmallen_bits/agemoea/agemoea.hpp b/include/ensmallen_bits/agemoea/agemoea.hpp index f7c5c2f79..9f914dac0 100644 --- a/include/ensmallen_bits/agemoea/agemoea.hpp +++ b/include/ensmallen_bits/agemoea/agemoea.hpp @@ -452,12 +452,6 @@ class AGEMOEA //! Probability that crossover will occur. double crossoverProb; - //! Probability that mutation will occur. - double mutationProb; - - //! Strength of the mutation. - double mutationStrength; - //! The crowding degree of the mutation. Higher value produces a mutant //! resembling its parent. double distributionIndex; diff --git a/include/ensmallen_bits/problems/dtlz/dtlz2_function.hpp b/include/ensmallen_bits/problems/dtlz/dtlz2_function.hpp index d73de1996..6b9dcd23c 100644 --- a/include/ensmallen_bits/problems/dtlz/dtlz2_function.hpp +++ b/include/ensmallen_bits/problems/dtlz/dtlz2_function.hpp @@ -110,7 +110,6 @@ namespace test { */ arma::Row g(const MatType& coords) { - size_t k = numVariables - numObjectives + 1; // Convenience typedef. typedef typename MatType::elem_type ElemType; diff --git a/include/ensmallen_bits/problems/dtlz/dtlz4_function.hpp b/include/ensmallen_bits/problems/dtlz/dtlz4_function.hpp index cc06cb624..efcf381f0 100644 --- a/include/ensmallen_bits/problems/dtlz/dtlz4_function.hpp +++ b/include/ensmallen_bits/problems/dtlz/dtlz4_function.hpp @@ -113,7 +113,6 @@ namespace test { */ arma::Row g(const MatType& coords) { - size_t k = numVariables - numObjectives + 1; // Convenience typedef. typedef typename MatType::elem_type ElemType; diff --git a/include/ensmallen_bits/problems/dtlz/dtlz5_function.hpp b/include/ensmallen_bits/problems/dtlz/dtlz5_function.hpp index c27926beb..1a4126d81 100644 --- a/include/ensmallen_bits/problems/dtlz/dtlz5_function.hpp +++ b/include/ensmallen_bits/problems/dtlz/dtlz5_function.hpp @@ -110,7 +110,6 @@ namespace test { */ arma::Row g(const MatType& coords) { - size_t k = numVariables - numObjectives + 1; // Convenience typedef. typedef typename MatType::elem_type ElemType; diff --git a/include/ensmallen_bits/problems/dtlz/dtlz6_function.hpp b/include/ensmallen_bits/problems/dtlz/dtlz6_function.hpp index 812db4700..c56fd7be1 100644 --- a/include/ensmallen_bits/problems/dtlz/dtlz6_function.hpp +++ b/include/ensmallen_bits/problems/dtlz/dtlz6_function.hpp @@ -110,7 +110,6 @@ namespace test { */ arma::Row g(const MatType& coords) { - size_t k = numVariables - numObjectives + 1; // Convenience typedef. typedef typename MatType::elem_type ElemType; diff --git a/include/ensmallen_bits/problems/dtlz/dtlz7_function.hpp b/include/ensmallen_bits/problems/dtlz/dtlz7_function.hpp index 436531891..99a262f0f 100644 --- a/include/ensmallen_bits/problems/dtlz/dtlz7_function.hpp +++ b/include/ensmallen_bits/problems/dtlz/dtlz7_function.hpp @@ -131,7 +131,6 @@ namespace test { arma::Row h( const MatType& coords, const arma::Row& G) { - size_t k = numVariables - numObjectives + 1; // Convenience typedef. typedef typename MatType::elem_type ElemType; diff --git a/include/ensmallen_bits/problems/maf/maf5_function.hpp b/include/ensmallen_bits/problems/maf/maf5_function.hpp index 65c1b8d33..db8c16f2d 100644 --- a/include/ensmallen_bits/problems/maf/maf5_function.hpp +++ b/include/ensmallen_bits/problems/maf/maf5_function.hpp @@ -131,7 +131,6 @@ namespace test { */ arma::Row g(const MatType& coords) { - size_t k = numVariables - numObjectives + 1; // Convenience typedef. typedef typename MatType::elem_type ElemType; diff --git a/include/ensmallen_bits/problems/maf/maf6_function.hpp b/include/ensmallen_bits/problems/maf/maf6_function.hpp index e443e5c81..2ace86498 100644 --- a/include/ensmallen_bits/problems/maf/maf6_function.hpp +++ b/include/ensmallen_bits/problems/maf/maf6_function.hpp @@ -116,7 +116,6 @@ namespace test { */ arma::Row g(const MatType& coords) { - size_t k = numVariables - numObjectives + 1; // Convenience typedef. typedef typename MatType::elem_type ElemType;