summaryrefslogtreecommitdiffstats
path: root/matlab/mex/mexCopyDataHelpFunctions.cpp
diff options
context:
space:
mode:
authorWim van Aarle <wimvanaarle@gmail.com>2015-02-26 16:11:38 +0100
committerWim van Aarle <wimvanaarle@gmail.com>2015-02-26 16:11:38 +0100
commit169e912d2633cda7ffc234e78afba1b096e122ea (patch)
treeb9dc0bdbf200056abb942e0be2840640a470b896 /matlab/mex/mexCopyDataHelpFunctions.cpp
parent2d11dcfc8d85cd562a36c192f5dda64c8378d160 (diff)
downloadastra-169e912d2633cda7ffc234e78afba1b096e122ea.tar.gz
astra-169e912d2633cda7ffc234e78afba1b096e122ea.tar.bz2
astra-169e912d2633cda7ffc234e78afba1b096e122ea.tar.xz
astra-169e912d2633cda7ffc234e78afba1b096e122ea.zip
code cleanup
Diffstat (limited to 'matlab/mex/mexCopyDataHelpFunctions.cpp')
-rw-r--r--matlab/mex/mexCopyDataHelpFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/matlab/mex/mexCopyDataHelpFunctions.cpp b/matlab/mex/mexCopyDataHelpFunctions.cpp
index 6dfd4a6..80fb834 100644
--- a/matlab/mex/mexCopyDataHelpFunctions.cpp
+++ b/matlab/mex/mexCopyDataHelpFunctions.cpp
@@ -263,7 +263,7 @@ copyMexToCFloat32Array(const mxArray * const in,
#pragma omp parallel
{
// fill with scalar value
- if (mex_is_scalar(in)) {
+ if (mexIsScalar(in)) {
astra::float32 fValue = 0.f;
if (!mxIsEmpty(in)) {
fValue = (astra::float32)mxGetScalar(in);