From 93a2a486af0adb05fbff27c1ee845f19a7fc62b1 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Sun, 25 Aug 2013 20:02:28 +0000 Subject: [PATCH] Fixed compile error due to not returning a value --- wrap/matlab.h | 1 + 1 file changed, 1 insertion(+) diff --git a/wrap/matlab.h b/wrap/matlab.h index 30e759c83..c84d6fdec 100644 --- a/wrap/matlab.h +++ b/wrap/matlab.h @@ -225,6 +225,7 @@ mxArray* wrap(const gtsam::Matrix& A) { template T unwrap(const mxArray* array) { error("wrap internal error: attempted unwrap of invalid type"); + return T(); } // specialization to string