diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2013-06-06 16:23:40 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2013-06-06 16:23:40 -0400 |
commit | 7ca523c492776485b1d5d030b4c1869a188a2e9b (patch) | |
tree | cb2e8d7009535057c5a36955e660fe599723a23e /python/src/_cdec.pyx | |
parent | 229de017a6ddef62af8d02bb067a4e5fa7329f27 (diff) | |
parent | 8ef5c9b0e15c45b09a22fd89a4ed7b0e180a9d2b (diff) |
Merge branch 'master' of https://github.com/redpony/cdec
Diffstat (limited to 'python/src/_cdec.pyx')
-rw-r--r-- | python/src/_cdec.pyx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/python/src/_cdec.pyx b/python/src/_cdec.pyx index 71e083e4..47d0c739 100644 --- a/python/src/_cdec.pyx +++ b/python/src/_cdec.pyx @@ -72,7 +72,6 @@ cdef class Decoder: if isinstance(weights, DenseVector): self.weights.vector[0] = (<DenseVector> weights).vector[0] elif isinstance(weights, SparseVector): - self.weights.vector.clear() ((<SparseVector> weights).vector[0]).init_vector(self.weights.vector) elif isinstance(weights, dict): self.weights.vector.clear() |