Update src/mlpack/core/data/load_categorical_csv.hpp

Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de>
This commit is contained in:
Omar Shrit
2021-11-05 20:15:32 +01:00
committed by GitHub
co-authored by Marcus Edel
parent 2b2c7fa950
commit 5e8afca1a9
@@ -173,7 +173,7 @@ void LoadCSV::InitializeMapper(size_t& rows, size_t& cols, DatasetMapper<MapPoli
while (std::getline(inFile, line))
{
++rows;
// Remove whitespaces from either side
// Remove whitespaces from either side.
Trim(line);
if (rows == 1)
{