vendor/tomotopy/src/TopicModel/DMRModel.cpp in tomoto-0.1.4 vs vendor/tomotopy/src/TopicModel/DMRModel.cpp in tomoto-0.2.0

- old
+ new

@@ -1,13 +1,9 @@ #include "DMRModel.hpp" namespace tomoto { - /*template class DMRModel<TermWeight::one>; - template class DMRModel<TermWeight::idf>; - template class DMRModel<TermWeight::pmi>;*/ - - IDMRModel* IDMRModel::create(TermWeight _weight, size_t _K, Float _defaultAlpha, Float _sigma, Float _eta, Float _alphaEps, size_t seed, bool scalarRng) + IDMRModel* IDMRModel::create(TermWeight _weight, const DMRArgs& args, bool scalarRng) { - TMT_SWITCH_TW(_weight, scalarRng, DMRModel, _K, _defaultAlpha, _sigma, _eta, _alphaEps, seed); + TMT_SWITCH_TW(_weight, scalarRng, DMRModel, args); } } \ No newline at end of file