made constructor explicit to make gcc happy
parent
d7f6a79967
commit
d652dbc03a
|
@ -31,7 +31,7 @@ namespace gtsam {
|
||||||
LieScalar() : d_(0.0) {}
|
LieScalar() : d_(0.0) {}
|
||||||
|
|
||||||
/** wrap a double */
|
/** wrap a double */
|
||||||
LieScalar(double d) : d_(d) {}
|
explicit LieScalar(double d) : d_(d) {}
|
||||||
|
|
||||||
/** access the underlying value */
|
/** access the underlying value */
|
||||||
double value() const { return d_; }
|
double value() const { return d_; }
|
||||||
|
|
Loading…
Reference in New Issue