summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYimmon Zhuang <[email protected]>2015-10-08 15:01:40 +0800
committerYimmon Zhuang <[email protected]>2015-10-08 15:01:40 +0800
commit3d85aeadc910c6f7fe067061a960e30aed5f7135 (patch)
tree984f673f12c52530ea170daec37b5930c6488559
parent74809198a31cb7d902de23c217ca7492b5f8a29b (diff)
mpe bugfix
-rw-r--r--kaldi_seq/src/kaldi_mpe.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kaldi_seq/src/kaldi_mpe.cpp b/kaldi_seq/src/kaldi_mpe.cpp
index 5c4f7fc..8cdf010 100644
--- a/kaldi_seq/src/kaldi_mpe.cpp
+++ b/kaldi_seq/src/kaldi_mpe.cpp
@@ -330,6 +330,7 @@ extern "C" {
nnet_out.Resize(mat->nrow, mat->ncol, kUndefined);
nnet_out.CopyFromMat(nnet_out_h);
mpe->log_prior->SubtractOnLogpost(&nnet_out);
+ nnet_out.CopyToMat(&nnet_out_h);
nnet_out.Resize(0,0);
}