Fixed compile error due to not returning a value

release/4.3a0
Richard Roberts 2013-08-25 20:02:28 +00:00
parent fedf276160
commit 93a2a486af
1 changed files with 1 additions and 0 deletions

View File

@ -225,6 +225,7 @@ mxArray* wrap<gtsam::Matrix >(const gtsam::Matrix& A) {
template <typename T>
T unwrap(const mxArray* array) {
error("wrap internal error: attempted unwrap of invalid type");
return T();
}
// specialization to string