From 7371097d6d8e6b88ab03e044e2f9f780c2c3cbe3 Mon Sep 17 00:00:00 2001 From: chrisbeall Date: Sat, 15 Dec 2018 15:16:49 -0800 Subject: [PATCH] Make FindSeparator-inl.h compile with recent versions of boost --- gtsam_unstable/partition/FindSeparator-inl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } /* ************************************************************************* */