From d652dbc03aec9a3b2aef6203c4f77d9364c1b75c Mon Sep 17 00:00:00 2001 From: Chris Beall Date: Mon, 13 Aug 2012 15:16:10 +0000 Subject: [PATCH] made constructor explicit to make gcc happy --- gtsam/base/LieScalar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/base/LieScalar.h b/gtsam/base/LieScalar.h index ce0ba93ca..3721492ec 100644 --- a/gtsam/base/LieScalar.h +++ b/gtsam/base/LieScalar.h @@ -31,7 +31,7 @@ namespace gtsam { LieScalar() : d_(0.0) {} /** wrap a double */ - LieScalar(double d) : d_(d) {} + explicit LieScalar(double d) : d_(d) {} /** access the underlying value */ double value() const { return d_; }