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 const S solver;
enum verbosityLevel {
typedef enum {
SILENT,
ERROR,
LAMBDA,
@ -60,13 +60,13 @@ namespace gtsam {
TRYDELTA,
LINEAR,
DAMPED
};
} verbosityLevel;
enum LambdaMode {
typedef enum {
FAST,
BOUNDED,
CAUTIOUS
};
} LambdaMode;
private: