fixed strategies greedy, lazy & lazy2

restore dictionary compression ratio
This commit is contained in:
Yann Collet
2019-08-02 14:21:39 +02:00
parent 2115292616
commit 5cf1b24aca
2 changed files with 10 additions and 6 deletions
+2 -2
View File
@@ -808,9 +808,9 @@ static int basicUnitTests(U32 seed, double compressibility)
/* ZSTDMT simple MT compression test */
DISPLAYLEVEL(3, "test%3i : create ZSTDMT CCtx : ", testNb++);
{ ZSTDMT_CCtx* mtctx = ZSTDMT_createCCtx(2);
{ ZSTDMT_CCtx* const mtctx = ZSTDMT_createCCtx(2);
if (mtctx==NULL) {
DISPLAY("mtctx : mot enough memory, aborting \n");
DISPLAY("mtctx : not enough memory, aborting \n");
testResult = 1;
goto _end;
}