diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d3009cf5f..333da6d52 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ on: - master jobs: osx: - runs-on: macos-latest + runs-on: macos-14-large steps: - uses: actions/checkout@v4 - name: Build diff --git a/src/problems/wfg.cpp b/src/problems/wfg.cpp index 77ebe66fc..4b7f6f022 100644 --- a/src/problems/wfg.cpp +++ b/src/problems/wfg.cpp @@ -916,10 +916,8 @@ vector_double wfg::wfg8_fitness(const vector_double &x) const for (decltype(m_dim_k) i = m_dim_k; i < m_dim_dvs; ++i) { vector_double first_input(i); vector_double weights(i, 1.0); - decltype(m_dim_obj) index = 0u; for (decltype(i) j = 0u; j < i; ++j) { first_input[j] = y[j]; - ++index; } t_1[i] = b_param(x_norm[i], r_sum(first_input, weights), 0.98 / 49.98, 0.02, 50); y[i] = t_1[i];