From a1fda3f14c07b7b9b47a80f0cbc30eac4fe15170 Mon Sep 17 00:00:00 2001 From: Scott Date: Thu, 3 Feb 2022 21:50:55 -0800 Subject: [PATCH] Add default constructor to PoseRotationPrior to fix serialization --- gtsam/slam/PoseRotationPrior.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtsam/slam/PoseRotationPrior.h b/gtsam/slam/PoseRotationPrior.h index ba4d12a25..20f12dbce 100644 --- a/gtsam/slam/PoseRotationPrior.h +++ b/gtsam/slam/PoseRotationPrior.h @@ -39,6 +39,9 @@ protected: public: + /** default constructor - only use for serialization */ + PoseRotationPrior() {} + /** standard constructor */ PoseRotationPrior(Key key, const Rotation& rot_z, const SharedNoiseModel& model) : Base(model, key), measured_(rot_z) {}