summaryrefslogtreecommitdiff
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
commitc61c0f2f664eebcc434ce76e6767fccdbdf6fae2 (patch)
tree138bb80f6ccad3beb6c1a3ff2d641b1b0352389a
parent901d45bb36e1395018de8460e4214cc9561f5b32 (diff)
typedef
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@258 ec762483-ff6d-05da-a07a-a48fb63a330f
-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) {