aboutsummaryrefslogtreecommitdiff
path: root/src/include/fst/shortest-path.h
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2013-03-04 11:30:34 +0000
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>2013-03-04 11:30:34 +0000
commit5bf56ba7027cd5f22ff52d0138893f7a585135fb (patch)
tree19e17fc79b8873e66f211276d4dd169c480cede1 /src/include/fst/shortest-path.h
parent3da1eb108d36da35333b2d655202791af854996b (diff)
parent5b6dc79427b8f7eeb6a7ff68034ab8548ce670ea (diff)
downloadopenfst-tools_r22.2.tar.gz
Diffstat (limited to 'src/include/fst/shortest-path.h')
-rw-r--r--src/include/fst/shortest-path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/fst/shortest-path.h b/src/include/fst/shortest-path.h
index f12970c..9cd13d9 100644
--- a/src/include/fst/shortest-path.h
+++ b/src/include/fst/shortest-path.h
@@ -458,7 +458,7 @@ void ShortestPath(const Fst<Arc> &ifst, MutableFst<Arc> *ofst,
} else {
vector<Weight> ddistance;
DeterminizeFstOptions<ReverseArc> dopts(opts.delta);
- DeterminizeFst<ReverseArc> dfst(rfst, *distance, &ddistance, dopts);
+ DeterminizeFst<ReverseArc> dfst(rfst, distance, &ddistance, dopts);
NShortestPath(dfst, ofst, ddistance, n, opts.delta,
opts.weight_threshold, opts.state_threshold);
}