clang warnings
parent
727679ea1d
commit
178b7f29da
|
|
@ -88,6 +88,9 @@ namespace gtsam {
|
|||
template<class DERIVEDFACTOR>
|
||||
GaussianFactorGraph(const FactorGraph<DERIVEDFACTOR>& graph) : Base(graph) {}
|
||||
|
||||
/** Virtual destructor */
|
||||
virtual ~GaussianFactorGraph() {}
|
||||
|
||||
/// @name Testable
|
||||
/// @{
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
#include <boost/foreach.hpp>
|
||||
#include <boost/tuple/tuple.hpp>
|
||||
#include <boost/make_shared.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
||||
#include <gtsam/base/DSFVector.h>
|
||||
|
||||
|
|
@ -468,9 +469,9 @@ namespace gtsam { namespace partition {
|
|||
}
|
||||
|
||||
if (minFoundConstraintsPerCamera < minNrConstraintsPerCamera)
|
||||
throw runtime_error("checkSingularity:minConstraintsPerCamera < " + minFoundConstraintsPerCamera);
|
||||
throw runtime_error("checkSingularity:minConstraintsPerCamera < " + boost::lexical_cast<string>(minFoundConstraintsPerCamera));
|
||||
if (minFoundConstraintsPerLandmark < minNrConstraintsPerLandmark)
|
||||
throw runtime_error("checkSingularity:minConstraintsPerLandmark < " + minFoundConstraintsPerLandmark);
|
||||
throw runtime_error("checkSingularity:minConstraintsPerLandmark < " + boost::lexical_cast<string>(minFoundConstraintsPerLandmark));
|
||||
}
|
||||
|
||||
}} // namespace
|
||||
|
|
|
|||
Loading…
Reference in New Issue