Naming fixes and code beautification

This commit is contained in:
Grigory Serebryakov
2014-08-27 12:41:18 +04:00
parent 57cf3d1766
commit 74d8527f8a
5 changed files with 25 additions and 30 deletions

View File

@@ -34,10 +34,10 @@ IOutput* IOutput::createOutput(const char *filename,
{
IOutput* output = 0;
switch (type) {
case IOutput::PNG_TRAINING_SET:
case IOutput::PNG_DATASET:
output = new PngDatasetOutput();
break;
case IOutput::JPG_TEST_SET:
case IOutput::JPG_DATASET:
output = new JpgDatasetOutput();
break;
default: