Fixed some warnings

release/4.3a0
Frank dellaert 2020-10-12 15:36:46 -04:00
parent 8a7ce130ad
commit 1708162723
1 changed files with 5 additions and 3 deletions

View File

@ -24,6 +24,9 @@
#include <gtsam/geometry/Unit3.h>
#include <gtsam/geometry/Pose3.h>
#include <algorithm>
#include <string>
namespace gtsam {
/**
@ -58,9 +61,8 @@ public:
}
/// Construct from a vector of plane coefficients
OrientedPlane3(const Vector4& vec) :
n_(vec(0), vec(1), vec(2)), d_(vec(3)) {
}
explicit OrientedPlane3(const Vector4& vec)
: n_(vec(0), vec(1), vec(2)), d_(vec(3)) {}
/// Construct from four numbers of plane coeffcients (a, b, c, d)
OrientedPlane3(double a, double b, double c, double d) {