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

cosmetics

parent b24b64a7
No related branches found
No related tags found
1 merge request!358WIP: Resolve "Complete state vector new data structure?"
Pipeline #5316 failed
......@@ -708,9 +708,11 @@ CaptureMotionPtr ProcessorMotion::findCaptureContainingTimeStamp(const TimeStamp
// 1. See that the KF contains a CaptureMotion
// 2. See that the TS is smaller than the KF's TS
// 3. See that the TS is bigger than the first Motion in the CaptureMotion's buffer (if any)
FrameBasePtr frame = nullptr;
CaptureBasePtr capture = nullptr;
CaptureMotionPtr capture_motion = nullptr;
for (auto frame_rev_iter = getProblem()->getTrajectory()->getFrameList().rbegin();
frame_rev_iter != getProblem()->getTrajectory()->getFrameList().rend();
++frame_rev_iter)
......@@ -808,7 +810,7 @@ PackKeyFramePtr ProcessorMotion::computeProcessingStep()
void ProcessorMotion::setProblem(ProblemPtr _problem)
{
std::string str = "Processor works with " + std::to_string(dim_) + "D but problem is " + std::to_string(_problem->getDim()) + "D";
assert((dim_ == 0 or dim_ == _problem->getDim()) && str.c_str());
assert( ( (dim_ == 0) or (dim_ == _problem->getDim() ) ) && str.c_str() );
if (_problem == nullptr or _problem == this->getProblem())
return;
......
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