Skip to content

Commit c3079ae

Browse files
committed
Update lakas.py
* For duel.py match manager, if --depth is defined, set tc value to inf.
1 parent e07df91 commit c3079ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lakas.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
__author__ = 'fsmosca'
1010
__script_name__ = 'Lakas'
11-
__version__ = 'v0.37.1'
11+
__version__ = 'v0.38.0'
1212
__credits__ = ['ChrisWhittington', 'Claes1981', 'joergoster', 'Matthies',
1313
'musketeerchess', 'teytaud', 'thehlopster',
1414
'tryingsomestuff']
@@ -382,7 +382,7 @@ def get_match_commands(engine_file, test_options, base_options,
382382
else:
383383
command += f' -pgnout {pgn_output}'
384384
if depth is not None:
385-
command += f' -each tc=0/0:{base_time_sec}+{inc_time_sec} depth={depth}'
385+
command += f' -each tc=inf depth={depth}'
386386
else:
387387
command += f' -each tc=0/0:{base_time_sec}+{inc_time_sec}'
388388
command += f' -engine cmd={engine_file} name={test_name} {test_options}'

0 commit comments

Comments
 (0)