Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vakomash committed Mar 17, 2024
1 parent a090a1b commit 4431f9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Ofast")
endif()
if(STATIC)
set( BUILD_SHARED_LIBRARIES OFF)
set( BOOST_USE_STATIC_LIBS ON )
set( Boost_USE_STATIC_LIBS ON )
set( CMAKE_EXE_LINKER_FLAGS "-static")
endif()
Expand All @@ -36,7 +35,7 @@ if (OPENMP_FOUND)
endif()
endif()
find_package(Boost COMPONENTS system thread filesystem regex timer REQUIRED)
INCLUDE_DIRECTORIES( ${Boost_INCLUDE_DIR} )
include_directories( ${Boost_INCLUDE_DIR} )

target_link_libraries(tuo ${Boost_LIBRARIES} )

Expand Down
3 changes: 3 additions & 0 deletions tyrant_optimize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3268,6 +3268,8 @@ DeckResults run(int argc, const char **argv)
}

if (!tokenParsed)
{
//no indent: keep two parts of a nested if at the same level
if (strcmp(argv[argIndex], "genetic") == 0)
{
if (check_input_amount(argc, argv, argIndex, 1))
Expand Down Expand Up @@ -3467,6 +3469,7 @@ DeckResults run(int argc, const char **argv)
std::cerr << "Error: Unknown option " << argv[argIndex] << std::endl;
exit(1);
}
} // if (tokenParsed)
}
load_db(prefix);
load_ml(prefix);
Expand Down

0 comments on commit 4431f9c

Please sign in to comment.