just make sure it can compile and run. Will come back to fix it
parent
e49c9fa100
commit
87ae297dad
|
@ -426,19 +426,19 @@ boost::shared_ptr<Class> unwrap_shared_ptr(const mxArray* obj, const string& pro
|
||||||
return *spp;
|
return *spp;
|
||||||
}
|
}
|
||||||
|
|
||||||
// throw an error if unwrap_shared_ptr is attempted for an Eigen Vector
|
//// throw an error if unwrap_shared_ptr is attempted for an Eigen Vector
|
||||||
template <>
|
//template <>
|
||||||
Vector unwrap_shared_ptr<Vector>(const mxArray* obj, const string& propertyName) {
|
//Vector unwrap_shared_ptr<Vector>(const mxArray* obj, const string& propertyName) {
|
||||||
bool unwrap_shared_ptr_Vector_attempted = false;
|
// bool unwrap_shared_ptr_Vector_attempted = false;
|
||||||
BOOST_STATIC_ASSERT(unwrap_shared_ptr_Vector_attempted, "Vector cannot be unwrapped as a shared pointer");
|
// BOOST_STATIC_ASSERT(unwrap_shared_ptr_Vector_attempted, "Vector cannot be unwrapped as a shared pointer");
|
||||||
return Vector();
|
// return Vector();
|
||||||
}
|
//}
|
||||||
|
|
||||||
// throw an error if unwrap_shared_ptr is attempted for an Eigen Matrix
|
//// throw an error if unwrap_shared_ptr is attempted for an Eigen Matrix
|
||||||
template <>
|
//template <>
|
||||||
Matrix unwrap_shared_ptr<Matrix>(const mxArray* obj, const string& propertyName) {
|
//Matrix unwrap_shared_ptr<Matrix>(const mxArray* obj, const string& propertyName) {
|
||||||
bool unwrap_shared_ptr_Matrix_attempted = false;
|
// bool unwrap_shared_ptr_Matrix_attempted = false;
|
||||||
BOOST_STATIC_ASSERT(unwrap_shared_ptr_Matrix_attempted, "Matrix cannot be unwrapped as a shared pointer");
|
// BOOST_STATIC_ASSERT(unwrap_shared_ptr_Matrix_attempted, "Matrix cannot be unwrapped as a shared pointer");
|
||||||
return Matrix();
|
// return Matrix();
|
||||||
}
|
//}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue