make print more comprehensible
parent
0f6ffcd4b2
commit
9ac2ae5755
|
@ -49,10 +49,9 @@ namespace gtsam {
|
||||||
void setVerbosity(const std::string &s) ;
|
void setVerbosity(const std::string &s) ;
|
||||||
|
|
||||||
void print() const {
|
void print() const {
|
||||||
const std::string kernelStr[1] = {"cg"};
|
|
||||||
std::cout << "IterativeOptimizationParameters: "
|
std::cout << "IterativeOptimizationParameters: "
|
||||||
<< "kernel = " << kernelStr[kernel_]
|
<< "kernel = " << kernelTranslator(kernel_)
|
||||||
<< ", verbosity = " << verbosity_ << std::endl;
|
<< ", verbosity = " << verbosityTranslator(verbosity_) << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Kernel kernelTranslator(const std::string &s);
|
static Kernel kernelTranslator(const std::string &s);
|
||||||
|
|
Loading…
Reference in New Issue