summaryrefslogtreecommitdiffstats
path: root/src/Python
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-08-24 16:39:37 +0100
commited5737df1e9a613ad881d3b61c62c2627027faa4 (patch)
tree2145f85d1ef37102379cdf3ed196d2bb01aabed7 /src/Python
parent56915cc00ded38d24c23b9ab1a0717d52d430ddd (diff)
downloadregularization-ed5737df1e9a613ad881d3b61c62c2627027faa4.tar.gz
regularization-ed5737df1e9a613ad881d3b61c62c2627027faa4.tar.bz2
regularization-ed5737df1e9a613ad881d3b61c62c2627027faa4.tar.xz
regularization-ed5737df1e9a613ad881d3b61c62c2627027faa4.zip
bugfix
Diffstat (limited to 'src/Python')
-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
+}