fixing general style
This commit is contained in:
@@ -1607,11 +1607,9 @@ int main(int argc, char** argv)
|
|||||||
return generateFile(seed, path, origPath);
|
return generateFile(seed, path, origPath);
|
||||||
} else if (genDict == 0){
|
} else if (genDict == 0){
|
||||||
return generateCorpus(seed, numFiles, path, origPath);
|
return generateCorpus(seed, numFiles, path, origPath);
|
||||||
} else if (numFiles == 0){
|
|
||||||
/* should generate a single file with a dictionary */
|
|
||||||
return generateCorpusWithDict(seed, 1, path, origPath, dictSize);
|
|
||||||
} else {
|
} else {
|
||||||
/* should generate multiple files with a dictionary */
|
/* should generate files with a dictionary */
|
||||||
|
numFiles = (numFiles == 0) ? 1 : numFiles;
|
||||||
return generateCorpusWithDict(seed, numFiles, path, origPath, dictSize);
|
return generateCorpusWithDict(seed, numFiles, path, origPath, dictSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user