diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-25 20:33:06 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-25 20:33:06 +0000 |
commit | 849cf89882c84e519d7ddae710b0dd4916f75ad5 (patch) | |
tree | a0523a97afc7ff30d8d03c8d9c6f8660be4ea035 /decoder/ff_from_fsa.h | |
parent | 38446c2960e83d7ddf0f71645d3952891ab0da11 (diff) |
being ensuring edge debug info is copied when apply_models - new hg.AddEdge methods
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@409 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/ff_from_fsa.h')
-rwxr-xr-x | decoder/ff_from_fsa.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/decoder/ff_from_fsa.h b/decoder/ff_from_fsa.h index adb704de..d32e90df 100755 --- a/decoder/ff_from_fsa.h +++ b/decoder/ff_from_fsa.h @@ -5,9 +5,8 @@ #define FSA_FF_DEBUG #ifdef FSA_FF_DEBUG -# define FSAFFDBG(e,x) do { if (debug) { FSADBGae(e,x) } } while(0) -# define FSAFFDBGnl(e) do { if (debug) { std::cerr<<std::endl; INFO_EDGE(e,"; "); } } while(0) - +# define FSAFFDBG(e,x) FSADBGif(debug,e,x) +# define FSAFFDBGnl(e) FSADBGif_nl(debug,e) #else # define FSAFFDBG(e,x) # define FSAFFDBGnl(e) |