Fixed compile error due to not returning a value
parent
fedf276160
commit
93a2a486af
|
@ -225,6 +225,7 @@ mxArray* wrap<gtsam::Matrix >(const gtsam::Matrix& A) {
|
||||||
template <typename T>
|
template <typename T>
|
||||||
T unwrap(const mxArray* array) {
|
T unwrap(const mxArray* array) {
|
||||||
error("wrap internal error: attempted unwrap of invalid type");
|
error("wrap internal error: attempted unwrap of invalid type");
|
||||||
|
return T();
|
||||||
}
|
}
|
||||||
|
|
||||||
// specialization to string
|
// specialization to string
|
||||||
|
|
Loading…
Reference in New Issue