summaryrefslogtreecommitdiff
path: root/decoder/trule_test.cc
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-04-23 01:15:07 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2011-04-23 01:15:07 -0400
commitfa8d794f2d4963b44ea4017d24c50c337be8c1a5 (patch)
tree245b678df185a8345e461e3634c3f503aaf25b71 /decoder/trule_test.cc
parent2da0ecb96b0f31197f91ab65b9abb7744ae1bef9 (diff)
fixes
Diffstat (limited to 'decoder/trule_test.cc')
-rw-r--r--decoder/trule_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/trule_test.cc b/decoder/trule_test.cc
index 02a70764..dfb6d417 100644
--- a/decoder/trule_test.cc
+++ b/decoder/trule_test.cc
@@ -35,7 +35,7 @@ TEST_F(TRuleTest,TestFSubstitute) {
TEST_F(TRuleTest,TestPhrasetableRule) {
TRulePtr t(TRule::CreateRulePhrasetable("gato ||| cat ||| PhraseModel_0=-23.2;Foo=1;Bar=12"));
cerr << t->AsString() << endl;
- assert(t->scores_.num_active() == 3);
+ assert(t->scores_.size() == 3);
};