diff --git a/src/Hype/Optimize.fs b/src/Hype/Optimize.fs index ac4c180..8f62b04 100644 --- a/src/Hype/Optimize.fs +++ b/src/Hype/Optimize.fs @@ -677,8 +677,8 @@ type Optimize = earlystop <- true diverged <- true - whist <- [w] @ whist - lhist <- [l] @ lhist + whist <- w :: whist + lhist <- l :: lhist if (l' < par.ImprovementThreshold * lbest) && (not diverged) then wbest <- w