Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use std::fill to initialize array
  • Loading branch information
m-kuhn committed Mar 10, 2019
1 parent d73c8ea commit 14352c7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/core/pal/problem.cpp
Expand Up @@ -2138,10 +2138,7 @@ void Problem::chain_search()

featWrap = nullptr;

for ( i = 0; i < nbft; i++ )
{
ok[i] = false;
}
std::fill( ok, ok + nbft, false );

//initialization();
init_sol_falp();
Expand Down

0 comments on commit 14352c7

Please sign in to comment.