fix ACTIVE/INACTIVE constants as Frank suggested
parent
565eb99948
commit
ba903536c8
|
@ -13,11 +13,11 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
#define ACTIVE 0.0
|
|
||||||
#define INACTIVE std::numeric_limits<double>::infinity()
|
|
||||||
|
|
||||||
namespace gtsam {
|
namespace gtsam {
|
||||||
|
|
||||||
|
static const double ACTIVE = 0.0;
|
||||||
|
static const double INACTIVE = std::numeric_limits<double>::infinity();
|
||||||
|
|
||||||
/// This struct holds the state of QPSolver at each iteration
|
/// This struct holds the state of QPSolver at each iteration
|
||||||
struct QPState {
|
struct QPState {
|
||||||
VectorValues values;
|
VectorValues values;
|
||||||
|
|
Loading…
Reference in New Issue