use updated wrap syntax for Verbosity enum in .i file

release/4.3a0
John Lambert 2021-09-02 15:27:49 -04:00 committed by GitHub
parent 5dff046488
commit 62b1e2ce9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 5 deletions

View File

@ -527,13 +527,15 @@ template<PARAMS>
virtual class GncParams {
GncParams(const PARAMS& baseOptimizerParams);
GncParams();
void setVerbosityGNC(const gtsam::GncParams::Verbosity value);
void setVerbosityGNC(const This::Verbosity value);
void print(const string& str) const;
};
typedef gtsam::GncParams::Verbosity::SILENT GncVerbositySilent;
typedef gtsam::GncParams::Verbosity::SUMMARY GncVerbositySummary;
typedef gtsam::GncParams::Verbosity::VALUES GncVerbosityValues;
enum Verbosity {
SILENT,
SUMMARY,
VALUES
};
};
typedef gtsam::GncParams<gtsam::GaussNewtonParams> GncGaussNewtonParams;
typedef gtsam::GncParams<gtsam::LevenbergMarquardtParams> GncLMParams;