Fixed message in IndeterminantLinearSystemException
parent
8604bc7328
commit
b5222d0d97
|
|
@ -27,8 +27,8 @@ namespace gtsam {
|
||||||
{
|
{
|
||||||
if(!description_)
|
if(!description_)
|
||||||
description_ = String(
|
description_ = String(
|
||||||
"\nIndeterminant linear system detected while working near variable with\n"
|
"\nIndeterminant linear system detected while working near variable\n"
|
||||||
"index " + boost::lexical_cast<String>(j_) + " in ordering.\n"
|
+ boost::lexical_cast<String>(j_) + ".\n"
|
||||||
"\n\
|
"\n\
|
||||||
Thrown when a linear system is ill-posed. The most common cause for this\n\
|
Thrown when a linear system is ill-posed. The most common cause for this\n\
|
||||||
error is having underconstrained variables. Mathematically, the system is\n\
|
error is having underconstrained variables. Mathematically, the system is\n\
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ namespace gtsam {
|
||||||
class GTSAM_EXPORT IndeterminantLinearSystemException : public ThreadsafeException<IndeterminantLinearSystemException> {
|
class GTSAM_EXPORT IndeterminantLinearSystemException : public ThreadsafeException<IndeterminantLinearSystemException> {
|
||||||
Index j_;
|
Index j_;
|
||||||
public:
|
public:
|
||||||
IndeterminantLinearSystemException(Index j) throw() : j_(j) {}
|
IndeterminantLinearSystemException(Index j) throw();
|
||||||
virtual ~IndeterminantLinearSystemException() throw() {}
|
virtual ~IndeterminantLinearSystemException() throw() {}
|
||||||
Index nearbyVariable() const { return j_; }
|
Index nearbyVariable() const { return j_; }
|
||||||
virtual const char* what() const throw();
|
virtual const char* what() const throw();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue