Skip to content

Commit dce5d80

Browse files
Fixed build errors
1 parent 4275162 commit dce5d80

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

loop-functions/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ link_directories(
88
add_subdirectory(chocolate)
99
#add_subdirectory(example)
1010
#add_subdirectory(gianduja)
11-
add_subdirectory(complexity)
11+
#add_subdirectory(complexity)
1212
add_subdirectory(vanilla)
1313
#add_subdirectory(extra)
1414
#add_subdirectory(NEATvsEvo)

loop-functions/localsearch/GuidedShelterLoopFunc.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ class GuidedShelterLoopFunc: public CoreLoopFunctions {
5353
Real m_fWidth;
5454
Real m_fOffset;
5555
CVector2 m_cLightPosition;
56-
static const Real ARENA_DEPTH = 1.231;
56+
// I forgot why I put the following line but it broke on my system. Maybe it was used on the cluster?
57+
// static const Real ARENA_DEPTH = 1.231;
58+
// The current version is only const. Seems to work on my computer
59+
const Real ARENA_DEPTH = 1.231;
5760

5861
Real m_fRadius;
5962
CVector2 m_cCoordBlackSpot;

0 commit comments

Comments
 (0)