diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-15 03:49:59 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-15 03:49:59 +0000 |
commit | 12b09cc1069ee4401074e0e0f6d8f9c120318aa0 (patch) | |
tree | 257758cf8f08fd79a163fbd1516652ff345f3b76 /decoder/sparse_vector.h | |
parent | c0eee37401d3731555346cb260330049b5dc99e7 (diff) |
typedef
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@258 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/sparse_vector.h')
-rw-r--r-- | decoder/sparse_vector.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/sparse_vector.h b/decoder/sparse_vector.h index 6b256a8e..bda10974 100644 --- a/decoder/sparse_vector.h +++ b/decoder/sparse_vector.h @@ -267,6 +267,7 @@ private: typedef SparseVector<double> FeatureVector; typedef std::vector<double> FeatureWeights; +typedef FeatureWeights WeightVector; template <typename T> SparseVector<T> operator+(const SparseVector<T>& a, const SparseVector<T>& b) { |