InvalidNoiseModel exception was not publically inheriting from std::exception

release/4.3a0
Richard Roberts 2012-12-03 19:08:11 +00:00
parent 9732094f41
commit f892e25006
1 changed files with 1 additions and 1 deletions

View File

@ -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