Skip to content

Commit

Permalink
review 2
Browse files Browse the repository at this point in the history
  • Loading branch information
darioizzo committed Apr 22, 2022
1 parent 9bd946b commit 9683747
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/problems/unconstrain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ see https://www.gnu.org/licenses/. */
#pragma GCC diagnostic ignored "-Wsuggest-attribute=const"
#endif

using namespace boost::safe_numerics;

namespace pagmo
{

Expand Down Expand Up @@ -246,6 +244,7 @@ bool unconstrain::has_batch_fitness() const
*/
vector_double unconstrain::batch_fitness(const vector_double & xs) const
{
using namespace boost::safe_numerics;
vector_double original_fitness(m_problem.batch_fitness(xs));
const vector_double::size_type nx = m_problem.get_nx();
const vector_double::size_type n_dvs = xs.size() / nx;
Expand Down

0 comments on commit 9683747

Please sign in to comment.