diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2013-11-10 01:46:28 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2013-11-10 01:46:28 -0500 |
commit | f204210aee0748f5183c6f0c853be89266f4a651 (patch) | |
tree | 6c44a0fb330344b8b140fd3652c4902e24fde715 /training/mira/kbest_cut_mira.cc | |
parent | e974e1dd835bd7995dca720bba1ce0ab09f6fe54 (diff) |
fix for c++11
Diffstat (limited to 'training/mira/kbest_cut_mira.cc')
-rw-r--r-- | training/mira/kbest_cut_mira.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/training/mira/kbest_cut_mira.cc b/training/mira/kbest_cut_mira.cc index 3b1108e0..990609d7 100644 --- a/training/mira/kbest_cut_mira.cc +++ b/training/mira/kbest_cut_mira.cc @@ -49,13 +49,6 @@ bool sent_approx; bool checkloss; bool stream; -void SanityCheck(const vector<double>& w) { - for (int i = 0; i < w.size(); ++i) { - assert(!isnan(w[i])); - assert(!isinf(w[i])); - } -} - struct FComp { const vector<double>& w_; FComp(const vector<double>& w) : w_(w) {} |