Removed exports for SharedGaussian and SharedDiagonal and moved them to testSerialization
parent
d1e1634b52
commit
726bed11b8
|
@ -18,8 +18,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <boost/serialization/extended_type_info.hpp>
|
||||
#include <boost/serialization/export.hpp>
|
||||
#include <gtsam/linear/NoiseModel.h>
|
||||
|
||||
namespace gtsam { // note, deliberately not in noiseModel namespace
|
||||
|
@ -71,4 +69,3 @@ namespace gtsam { // note, deliberately not in noiseModel namespace
|
|||
|
||||
}
|
||||
|
||||
BOOST_CLASS_EXPORT_GUID(gtsam::SharedDiagonal, "gtsam_SharedDiagonal")
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <boost/serialization/extended_type_info.hpp>
|
||||
#include <boost/serialization/export.hpp>
|
||||
#include <gtsam/linear/NoiseModel.h>
|
||||
|
||||
namespace gtsam { // note, deliberately not in noiseModel namespace
|
||||
|
@ -77,5 +75,3 @@ namespace gtsam { // note, deliberately not in noiseModel namespace
|
|||
}
|
||||
};
|
||||
}
|
||||
|
||||
BOOST_CLASS_EXPORT_GUID(gtsam::SharedGaussian, "gtsam_SharedGaussian")
|
||||
|
|
|
@ -203,6 +203,9 @@ BOOST_CLASS_EXPORT_GUID(gtsam::noiseModel::Gaussian, "gtsam_noiseModel_Gaussian"
|
|||
BOOST_CLASS_EXPORT_GUID(gtsam::noiseModel::Unit, "gtsam_noiseModel_Unit");
|
||||
BOOST_CLASS_EXPORT_GUID(gtsam::noiseModel::Isotropic, "gtsam_noiseModel_Isotropic");
|
||||
|
||||
BOOST_CLASS_EXPORT_GUID(gtsam::SharedGaussian, "gtsam_SharedGaussian");
|
||||
BOOST_CLASS_EXPORT_GUID(gtsam::SharedDiagonal, "gtsam_SharedDiagonal");
|
||||
|
||||
/* ************************************************************************* */
|
||||
// example noise models
|
||||
noiseModel::Diagonal::shared_ptr diag3 = noiseModel::Diagonal::Sigmas(Vector_(3, 0.1, 0.2, 0.3));
|
||||
|
|
Loading…
Reference in New Issue