From d8564f25e0554c5799f375d269f308b1a3c9e9d8 Mon Sep 17 00:00:00 2001 From: Duy-Nguyen Ta Date: Thu, 12 Mar 2015 09:37:26 -0400 Subject: [PATCH] fix exception text --- gtsam_unstable/linear/LinearInequality.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam_unstable/linear/LinearInequality.h b/gtsam_unstable/linear/LinearInequality.h index 9bd3ecf96..d45f9f7ac 100644 --- a/gtsam_unstable/linear/LinearInequality.h +++ b/gtsam_unstable/linear/LinearInequality.h @@ -53,7 +53,7 @@ public: /** Conversion from JacobianFactor */ explicit LinearInequality(const JacobianFactor& jf, Key dualKey) : Base(jf), dualKey_(dualKey), active_(true) { if (!jf.isConstrained()) { - throw std::runtime_error("Cannot convert an unconstrained JacobianFactor to LinearEquality"); + throw std::runtime_error("Cannot convert an unconstrained JacobianFactor to LinearInequality"); } if (jf.get_model()->dim() != 1) {