diff options
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); } |