From 553f5690387355a73b0b810c3c31d7474739ea6a Mon Sep 17 00:00:00 2001 From: lcarlone Date: Sat, 5 Dec 2020 14:34:46 -0500 Subject: [PATCH] added more explanation on throw --- gtsam/sfm/ShonanAveraging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/sfm/ShonanAveraging.cpp b/gtsam/sfm/ShonanAveraging.cpp index 58921988b..06ff92160 100644 --- a/gtsam/sfm/ShonanAveraging.cpp +++ b/gtsam/sfm/ShonanAveraging.cpp @@ -811,7 +811,7 @@ std::pair ShonanAveraging::run(const Values &initialEstimate, .useHuber) { // in this case, there is no optimality verification if (pMin != pMax) { throw std::runtime_error( - "When using robust norm, Shonan only tests a single rank"); + "When using robust norm, Shonan only tests a single rank. Set pMin = pMax"); } const Values SO3Values = roundSolution(Qstar); return std::make_pair(SO3Values, 0);