Skip to content
Snippets Groups Projects
Commit dde4e959 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Convert some WOLF_TRACE to WOLF_DEBUG

parent 1d97a989
No related branches found
No related tags found
1 merge request!466devel->main
Pipeline #13406 passed
......@@ -1045,14 +1045,14 @@ void Problem::setPriorOptions(const std::string& _mode,
assert((_mode == "nothing" || _mode == "initial_guess" || _mode == "fix" || _mode == "factor") && "wrong _mode value, it should be: 'nothing', 'initial_guess', 'fix' or 'factor'");
// Store options (optionals depending on the mode)
WOLF_TRACE("prior mode: ", _mode);
WOLF_DEBUG("prior mode: ", _mode);
prior_options_->mode = _mode;
if (prior_options_->mode != "nothing")
{
assert(_state.includesStructure(frame_structure_) && "any missing key in prior state");
WOLF_TRACE("prior state: ", _state);
WOLF_DEBUG("prior state: ", _state);
prior_options_->state = _state;
if (prior_options_->mode == "factor")
......@@ -1074,7 +1074,7 @@ void Problem::setPriorOptions(const std::string& _mode,
const auto& cov_blk = (sig_blk.array() * sig_blk.array()).matrix().asDiagonal();
Q.emplace(key,key,cov_blk);
}
WOLF_TRACE("prior covariance:" , Q);
WOLF_DEBUG("prior covariance:" , Q);
prior_options_->cov = Q;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment