made constructor explicit to make gcc happy

release/4.3a0
Chris Beall 2012-08-13 15:16:10 +00:00
parent d7f6a79967
commit d652dbc03a
1 changed files with 1 additions and 1 deletions

View File

@ -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_; }