From 3a5aeb67de3d7156e77ee94625ed3714117d3b43 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Tue, 18 Mar 2014 02:05:25 -0400 Subject: chris edits --- utils/exp_semiring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/exp_semiring.h') 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 operator*(const PRPair& a, const PRPair& b) { } template -const PRPair star(const PRPair& x) { +inline const PRPair star(const PRPair& x) { const P pstar = star(x.p); return PRPair(pstar, pstar * x.r * pstar); } -- cgit v1.2.3