Commit 5c7e8d77 authored by Andrey Kamaev's avatar Andrey Kamaev

Fixed 4 broken ml tests.

parent 26192213
......@@ -217,7 +217,7 @@ int CvMLData::read_csv(const char* filename)
str_to_flt_elem( token, el_ptr[cols_count-1], type);
var_types_ptr[cols_count-1] |= type;
cvSeqPush( seq, el_ptr );
if( !fgets_chomp( buf, M, file ) )
if( !fgets_chomp( buf, M, file ) || !strchr( buf, delimiter ) )
break;
}
fclose(file);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment