Update src/mlpack/core/data/load_categorical_csv.hpp
Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de>
This commit is contained in:
co-authored by
Marcus Edel
parent
eec152f803
commit
14edebbda4
@@ -90,7 +90,7 @@ void LoadCSV::InitializeTransposeMapper(size_t& rows, size_t& cols,
|
||||
// Remove whitespaces from either side.
|
||||
Trim(line);
|
||||
|
||||
// If it's an empty line decrease cols and break
|
||||
// If it's an empty line decrease cols and break.
|
||||
if (line.size() == 0)
|
||||
{
|
||||
--cols;
|
||||
|
||||
Reference in New Issue
Block a user