more informative print for LinearInequality showing its active/inactive state
parent
c4b574774a
commit
48b08bd58e
|
@ -91,7 +91,10 @@ public:
|
||||||
/** print */
|
/** print */
|
||||||
virtual void print(const std::string& s = "", const KeyFormatter& formatter =
|
virtual void print(const std::string& s = "", const KeyFormatter& formatter =
|
||||||
DefaultKeyFormatter) const {
|
DefaultKeyFormatter) const {
|
||||||
Base::print(s, formatter);
|
if (active())
|
||||||
|
Base::print(s + " Active", formatter);
|
||||||
|
else
|
||||||
|
Base::print(s + " Inactive", formatter);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Clone this LinearInequality */
|
/** Clone this LinearInequality */
|
||||||
|
|
Loading…
Reference in New Issue