Made enums be typedefs so that verbosity levels can be actual types
parent
fd5134b06d
commit
2ac1685b93
|
@ -49,7 +49,7 @@ namespace gtsam {
|
||||||
typedef boost::shared_ptr<const S> shared_solver;
|
typedef boost::shared_ptr<const S> shared_solver;
|
||||||
typedef const S solver;
|
typedef const S solver;
|
||||||
|
|
||||||
enum verbosityLevel {
|
typedef enum {
|
||||||
SILENT,
|
SILENT,
|
||||||
ERROR,
|
ERROR,
|
||||||
LAMBDA,
|
LAMBDA,
|
||||||
|
@ -60,13 +60,13 @@ namespace gtsam {
|
||||||
TRYDELTA,
|
TRYDELTA,
|
||||||
LINEAR,
|
LINEAR,
|
||||||
DAMPED
|
DAMPED
|
||||||
};
|
} verbosityLevel;
|
||||||
|
|
||||||
enum LambdaMode {
|
typedef enum {
|
||||||
FAST,
|
FAST,
|
||||||
BOUNDED,
|
BOUNDED,
|
||||||
CAUTIOUS
|
CAUTIOUS
|
||||||
};
|
} LambdaMode;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue