diff options
Diffstat (limited to 'decoder/oracle_bleu.h')
-rwxr-xr-x | decoder/oracle_bleu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/oracle_bleu.h b/decoder/oracle_bleu.h index 550f438f..6708b02e 100755 --- a/decoder/oracle_bleu.h +++ b/decoder/oracle_bleu.h @@ -38,7 +38,7 @@ struct Translation { out<<pre<<"features: "<<features<<std::endl; } bool is_null() { - return features.size()==0 /* && sentence.size()==0 */; + return features.empty() /* && sentence.empty() */; } }; |