added warning message

when pathological dataset is detected
(note : cover_optimize needs -v to display the warning)
This commit is contained in:
Yann Collet
2018-01-11 11:29:28 -08:00
parent e8093dde09
commit 752bae4a48
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1007,7 +1007,7 @@ ZDICTLIB_API size_t ZDICT_optimizeTrainFromBuffer_cover(
data->parameters.k = k;
data->parameters.d = d;
data->parameters.steps = kSteps;
data->parameters.zParams.notificationLevel = displayLevel;
data->parameters.zParams.notificationLevel = g_displayLevel;
/* Check the parameters */
if (!COVER_checkParameters(data->parameters, dictBufferCapacity)) {
DISPLAYLEVEL(1, "Cover parameters incorrect\n");