Closed jkormu closed 3 years ago
Reproduction steps:
setoption name FPU value 1
go nodes 800
dump-params
setoption name FPU value 2
Result: After step 4. FPUValue is correctly set as 1. After step 6. FPUValue is still 1.
Expected result: FPU should be 2 after step 6
Note that this is not bug in dump-params as it is also clear from search tree that parameter is not changed.
Changing
case "fpu": SetFloat(value, 0, float.MaxValue, ref fpu); break;
to
case "fpu": SetFloat(value, 0, float.MaxValue, ref (CeresEngine is not null ? ref CeresEngine.ChildSelectParams.FPUValue : ref fpu)); break;
seems to fix the issue.
Reproduction steps:
setoption name FPU value 1
go nodes 800
dump-params
setoption name FPU value 2
dump-params
Result: After step 4. FPUValue is correctly set as 1. After step 6. FPUValue is still 1.
Expected result: FPU should be 2 after step 6
Note that this is not bug in dump-params as it is also clear from search tree that parameter is not changed.
Changing
to
seems to fix the issue.