summaryrefslogtreecommitdiff
path: root/decoder/sparse_vector.h
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-15 03:49:59 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-15 03:49:59 +0000
commit12b09cc1069ee4401074e0e0f6d8f9c120318aa0 (patch)
tree257758cf8f08fd79a163fbd1516652ff345f3b76 /decoder/sparse_vector.h
parentc0eee37401d3731555346cb260330049b5dc99e7 (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.h1
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) {