Skip to content
Snippets Groups Projects
Commit 0f1adc35 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

Revert "further checks in print"

This reverts commit 3e31b91c
parent f51d0557
No related branches found
No related tags found
1 merge request!394Resolve "Safe and more complete print()"
Pipeline #5915 passed
......@@ -315,29 +315,17 @@ void FactorBase::printHeader(int _depth, bool _constr_by, bool _metric, bool _st
_stream << " Abs";
for (const auto& Fow : getFrameOtherList())
{
auto Fow_sh = Fow.lock();
if (Fow_sh)
_stream << " Frm" << Fow_sh->id();
}
if (!Fow.expired())
_stream << " Frm" << Fow.lock()->id();
for (const auto& Cow : getCaptureOtherList())
{
auto Cow_sh = Cow.lock();
if (Cow_sh)
_stream << " Cap" << Cow_sh->id();
}
if (!Cow.expired())
_stream << " Cap" << Cow.lock()->id();
for (const auto& fow : getFeatureOtherList())
{
auto fow_sh = fow.lock();
if (fow_sh)
_stream << " Ftr" << fow_sh->id();
}
if (!fow.expired())
_stream << " Ftr" << fow.lock()->id();
for (const auto& Low : getLandmarkOtherList())
{
auto Low_sh = Low.lock();
if (Low_sh)
_stream << " Lmk" << Low_sh->id();
}
if (!Low.expired())
_stream << " Lmk" << Low.lock()->id();
_stream << std::endl;
}
......
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