Skip to content

Commit e091740

Browse files
authored
Merge pull request #153 from MichaelChirico/patch-1
Remove unused 'num_columns'
2 parents 59d7786 + c46e080 commit e091740

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/data.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ ColumnVector::ColumnVector(std::string filename, int32_t column_index, bool head
7070
Log::Fatal("Could not recognize data format of %s", filename.c_str());
7171
}
7272

73-
// Determine number of columns in the data file
74-
int num_columns = parser->NumFeatures();
75-
7673
// Read data to memory
7774
auto text_data = LoadTextDataToMemory(filename.c_str(), &num_global_data, header);
7875
int num_observations = static_cast<data_size_t>(text_data.size());

0 commit comments

Comments
 (0)