summaryrefslogtreecommitdiff
path: root/utils/logval.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2014-03-18 02:05:25 -0400
committerChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2014-03-18 02:05:25 -0400
commit3a5aeb67de3d7156e77ee94625ed3714117d3b43 (patch)
treefc4aa0ffa2a414d333637f099943106ef459e24d /utils/logval.h
parent766629370bbecfb05513aed9cd16f783be5e1543 (diff)
chris edits
Diffstat (limited to 'utils/logval.h')
-rw-r--r--utils/logval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/logval.h b/utils/logval.h
index 7f1e1024..0c9ee982 100644
--- a/utils/logval.h
+++ b/utils/logval.h
@@ -244,7 +244,7 @@ template <class T>
std::size_t hash_value(const LogVal<T>& x) { return x.hash_impl(); }
template <class T>
-LogVal<T> star(LogVal<T> x) {
+inline LogVal<T> star(LogVal<T> x) {
if (x.is_0()) return x;
if (x.v_ >= 0) {
x.v_ = std::numeric_limits<T>::infinity();