Update dmlc-core submodule (#3221)
* Update dmlc-core submodule * Fix dense_parser to work with the latest dmlc-core * Specify location of Google Test * Add more source files in dmlc-minimum to get latest dmlc-core working * Update dmlc-core submodule
This commit is contained in:
committed by
GitHub
parent
039dbe6aec
commit
9a8211f668
@@ -69,7 +69,7 @@ class DensifyParser : public dmlc::Parser<IndexType> {
|
||||
std::vector<xgboost::bst_float> dense_value_;
|
||||
};
|
||||
|
||||
template<typename IndexType>
|
||||
template<typename IndexType, typename DType = real_t>
|
||||
Parser<IndexType> *
|
||||
CreateDenseLibSVMParser(const std::string& path,
|
||||
const std::map<std::string, std::string>& args,
|
||||
@@ -82,5 +82,6 @@ CreateDenseLibSVMParser(const std::string& path,
|
||||
}
|
||||
} // namespace data
|
||||
|
||||
DMLC_REGISTER_DATA_PARSER(uint32_t, dense_libsvm, data::CreateDenseLibSVMParser<uint32_t>);
|
||||
DMLC_REGISTER_DATA_PARSER(uint32_t, real_t, dense_libsvm,
|
||||
data::CreateDenseLibSVMParser<uint32_t __DMLC_COMMA real_t>);
|
||||
} // namespace dmlc
|
||||
|
||||
Reference in New Issue
Block a user