diff --git a/gtsam_unstable/partition/FindSeparator-inl.h b/gtsam_unstable/partition/FindSeparator-inl.h index 15411264f..0e22edf0f 100644 --- a/gtsam_unstable/partition/FindSeparator-inl.h +++ b/gtsam_unstable/partition/FindSeparator-inl.h @@ -284,7 +284,7 @@ namespace gtsam { namespace partition { throw std::runtime_error("separatorPartitionByMetis: invalid sepsize from Metis ND!"); } - return boost::make_optional(result); + return result; } /* *************************************************************************/ @@ -359,7 +359,7 @@ namespace gtsam { namespace partition { std::cout << "edgeCut: " << edgeCut << std::endl; } - return boost::make_optional(result); + return result; } /* ************************************************************************* */