diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-03-18 02:05:25 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-03-18 02:05:25 -0400 |
commit | 3a5aeb67de3d7156e77ee94625ed3714117d3b43 (patch) | |
tree | fc4aa0ffa2a414d333637f099943106ef459e24d /utils/exp_semiring.h | |
parent | 766629370bbecfb05513aed9cd16f783be5e1543 (diff) |
chris edits
Diffstat (limited to 'utils/exp_semiring.h')
-rw-r--r-- | utils/exp_semiring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/exp_semiring.h b/utils/exp_semiring.h index 7572ccf5..26a22071 100644 --- a/utils/exp_semiring.h +++ b/utils/exp_semiring.h @@ -56,7 +56,7 @@ const PRPair<P,R> operator*(const PRPair<P,R>& a, const PRPair<P,R>& b) { } template <class P, class R> -const PRPair<P,R> star(const PRPair<P,R>& x) { +inline const PRPair<P,R> star(const PRPair<P,R>& x) { const P pstar = star(x.p); return PRPair<P,R>(pstar, pstar * x.r * pstar); } |