From f892e250063193f9e6aa85b013471b46322c6de4 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Mon, 3 Dec 2012 19:08:11 +0000 Subject: [PATCH] InvalidNoiseModel exception was not publically inheriting from std::exception --- gtsam/linear/JacobianFactor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/linear/JacobianFactor.h b/gtsam/linear/JacobianFactor.h index 95cce138f..cd77252b4 100644 --- a/gtsam/linear/JacobianFactor.h +++ b/gtsam/linear/JacobianFactor.h @@ -297,7 +297,7 @@ namespace gtsam { /** An exception indicating that the noise model dimension passed into the * JacobianFactor has a different dimensionality than the factor. */ - class InvalidNoiseModel : std::exception { + class InvalidNoiseModel : public std::exception { public: const size_t factorDims; ///< The dimensionality of the factor const size_t noiseModelDims; ///< The dimensionality of the noise model