bajeluk / surrogate-cmaes

Surrogate CMA-ES (S-CMA-ES and DTS-CMA-ES) is a surrogate-based optimizing evolution strategy. It is based on the N. Hansen's CMA-ES algorithm which is interconnected with Gaussian processes (or random forests, that are, however, not maintained here anymore).
19 stars 18 forks source link

Bug in TSS nearest #8

Open c0zzy opened 2 years ago

c0zzy commented 2 years ago

The issue is here:

https://github.com/bajeluk/surrogate-cmaes/blob/a11faad369a1f195cd3344b412171643aa4e4f7a/src/data/Archive.m#L227

you modify the indicesToReturn variable and then immediately rewrite it with newIndicesToReturn