diff options
author | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-09-28 17:06:08 +0000 |
---|---|---|
committer | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-09-28 17:06:08 +0000 |
commit | 66ff975d0bd25f564a82d124cdbd984bda0ea417 (patch) | |
tree | 6a8d2a9a4594cf251260c866c46c15479452696d /utils/weights.h | |
parent | f678837bfee1f97a0910626a5356ba9e2b8c6371 (diff) |
use boost mpi, fix L1 stochastic optimizer
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@659 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'utils/weights.h')
-rw-r--r-- | utils/weights.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/weights.h b/utils/weights.h index 1849f959..cc20283c 100644 --- a/utils/weights.h +++ b/utils/weights.h @@ -14,6 +14,7 @@ class Weights { void InitVector(std::vector<double>* w) const; void InitSparseVector(SparseVector<double>* w) const; void InitFromVector(const std::vector<double>& w); + void InitFromVector(const SparseVector<double>& w); private: std::vector<double> wv_; }; |