Skip to content

Commit

Permalink
cmt-20240921-2: fix build bug
Browse files Browse the repository at this point in the history
fix github workflow build bug
  • Loading branch information
nicewang committed Sep 20, 2024
1 parent 74b6fe5 commit fd342f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ project(MyProject)

# Set C++ 11 standard
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# Add subdirectories and compile separately
add_subdirectory(monte_carlo_tree_search)
Expand Down
2 changes: 2 additions & 0 deletions monte_carlo_tree_search/include/mcts.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

#include "state.h"
#include <unordered_set>
#include <limits> // for std::numeric_limits
#include <cmath> // for std::sqrt and std::log

#ifndef CONFIG_C
#define CONFIG_C 2
Expand Down

0 comments on commit fd342f4

Please sign in to comment.