summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2017-08-24 16:39:37 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2017-10-11 15:48:34 +0100
commit05bd227b56ec43c97c81630f50c3b741ef86ddcd (patch)
treefd36d27b231dcacf2328475c3e9b6b7adfabaa9c
parent8d53e078d3dabf7107982a8d25b4d66b1d0e73ce (diff)
downloadregularization-05bd227b56ec43c97c81630f50c3b741ef86ddcd.tar.gz
regularization-05bd227b56ec43c97c81630f50c3b741ef86ddcd.tar.bz2
regularization-05bd227b56ec43c97c81630f50c3b741ef86ddcd.tar.xz
regularization-05bd227b56ec43c97c81630f50c3b741ef86ddcd.zip
bugfix
-rw-r--r--src/Python/Matlab2Python_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Python/Matlab2Python_utils.cpp b/src/Python/Matlab2Python_utils.cpp
index e15d738..ee76bc7 100644
--- a/src/Python/Matlab2Python_utils.cpp
+++ b/src/Python/Matlab2Python_utils.cpp
@@ -123,7 +123,7 @@ T * mxGetData(const np::ndarray pm) {
probably this would work.
A = reinterpret_cast<float *>(prhs[0]);
*/
- return reinterpret_cast<T *>(prhs[0]);
+ //return reinterpret_cast<T *>(prhs[0]);
}
template<typename T>
@@ -273,4 +273,4 @@ BOOST_PYTHON_MODULE(prova)
//numpy_boost_python_register_type<double, 3>();
def("mexFunction", mexFunction);
def("doSomething", doSomething);
-} \ No newline at end of file
+}