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:14:47 +01:00
committed by GitHub
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;