minor fixes
parent
12b35b4142
commit
7eb9a95c5f
|
@ -167,9 +167,10 @@ boost::shared_ptr<GaussianFactor> NoiseModelFactor::linearize(
|
||||||
return GaussianFactor::shared_ptr(
|
return GaussianFactor::shared_ptr(
|
||||||
new JacobianFactor(terms, b,
|
new JacobianFactor(terms, b,
|
||||||
boost::static_pointer_cast<Constrained>(noiseModel_)->unit()));
|
boost::static_pointer_cast<Constrained>(noiseModel_)->unit()));
|
||||||
else
|
else {
|
||||||
return GaussianFactor::shared_ptr(new JacobianFactor(terms, b));
|
return GaussianFactor::shared_ptr(new JacobianFactor(terms, b));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
|
|
||||||
|
|
|
@ -10,3 +10,5 @@
|
||||||
* Without this they will be automatically converted to a Python object, and all
|
* Without this they will be automatically converted to a Python object, and all
|
||||||
* mutations on Python side will not be reflected on C++.
|
* mutations on Python side will not be reflected on C++.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <pybind11/stl.h>
|
||||||
|
|
Loading…
Reference in New Issue