Always use splitPoint=1.0 for non-optimize cover and fastcover

This commit is contained in:
Jennifer Liu
2018-08-30 14:59:22 -07:00
parent e45d82ab0b
commit 16db0337b1
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -510,7 +510,7 @@ ZDICTLIB_API size_t ZDICT_trainFromBuffer_fastCover(
/* Initialize global data */
g_displayLevel = parameters.zParams.notificationLevel;
/* Assign splitPoint and f if not provided */
parameters.splitPoint = parameters.splitPoint <= 0.0 ? DEFAULT_SPLITPOINT : parameters.splitPoint;
parameters.splitPoint = 1.0;
parameters.f = parameters.f == 0 ? DEFAULT_F : parameters.f;
parameters.accel = parameters.accel == 0 ? DEFAULT_ACCEL : parameters.accel;
/* Convert to cover parameter */