Skip to content
Permalink
Browse files

Use std::fill to initialize array

  • Loading branch information
m-kuhn committed Mar 10, 2019
1 parent d73c8ea commit 14352c7230ab91292e928a2c330b2b1a9299950b
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/core/pal/problem.cpp
@@ -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();

0 comments on commit 14352c7

Please sign in to comment.
You can’t perform that action at this time.