Skip to content

Commit

Permalink
Merge pull request #153 from MichaelChirico/patch-1
Browse files Browse the repository at this point in the history
Remove unused 'num_columns'
  • Loading branch information
andrewherren authored Feb 27, 2025
2 parents 59d7786 + c46e080 commit e091740
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ ColumnVector::ColumnVector(std::string filename, int32_t column_index, bool head
Log::Fatal("Could not recognize data format of %s", filename.c_str());
}

// Determine number of columns in the data file
int num_columns = parser->NumFeatures();

// Read data to memory
auto text_data = LoadTextDataToMemory(filename.c_str(), &num_global_data, header);
int num_observations = static_cast<data_size_t>(text_data.size());
Expand Down

0 comments on commit e091740

Please sign in to comment.