Make FindSeparator-inl.h compile with recent versions of boost
parent
f21a431427
commit
7371097d6d
|
@ -284,7 +284,7 @@ namespace gtsam { namespace partition {
|
||||||
throw std::runtime_error("separatorPartitionByMetis: invalid sepsize from Metis ND!");
|
throw std::runtime_error("separatorPartitionByMetis: invalid sepsize from Metis ND!");
|
||||||
}
|
}
|
||||||
|
|
||||||
return boost::make_optional<MetisResult >(result);
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* *************************************************************************/
|
/* *************************************************************************/
|
||||||
|
@ -359,7 +359,7 @@ namespace gtsam { namespace partition {
|
||||||
std::cout << "edgeCut: " << edgeCut << std::endl;
|
std::cout << "edgeCut: " << edgeCut << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
return boost::make_optional<MetisResult >(result);
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
|
|
Loading…
Reference in New Issue