Made enums be typedefs so that verbosity levels can be actual types

release/4.3a0
Alex Cunningham 2010-09-27 16:01:43 +00:00
parent fd5134b06d
commit 2ac1685b93
1 changed files with 4 additions and 4 deletions

View File

@ -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: