diff options
author | Patrick Simianer <p@simianer.de> | 2013-06-20 01:28:43 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2013-06-20 01:28:43 +0200 |
commit | b84dbcec63a488c85ef32591a1a751571a4ec808 (patch) | |
tree | b15737c3f9e0d18c36a8d84d52e6c0bb270190f9 /python/src/_cdec.pyx | |
parent | 4ee4f74ae8cf88fd2335267c26cbfb73f3ef8f28 (diff) | |
parent | f1ce46ec9b1b8efcc4a91a149454acf03c01db02 (diff) |
Merge remote-tracking branch 'upstream/master'
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() |