summaryrefslogtreecommitdiffstats
path: root/Wrappers
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2018-01-25 15:52:51 +0000
committerEdoardo Pasca <edo.paskino@gmail.com>2018-01-30 12:03:59 +0000
commit9c341f9187d5f973e3d14425392a306e796524b8 (patch)
treea71dded57845199e0da6a19d1f68d2061da83363 /Wrappers
parent886d74aa7bddf2cf5972ab6516ace2dcb764e844 (diff)
downloadregularization-9c341f9187d5f973e3d14425392a306e796524b8.tar.gz
regularization-9c341f9187d5f973e3d14425392a306e796524b8.tar.bz2
regularization-9c341f9187d5f973e3d14425392a306e796524b8.tar.xz
regularization-9c341f9187d5f973e3d14425392a306e796524b8.zip
ndarray has ndim not ndims
Diffstat (limited to 'Wrappers')
-rw-r--r--Wrappers/Python/src/fista_module_gpu.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Wrappers/Python/src/fista_module_gpu.pyx b/Wrappers/Python/src/fista_module_gpu.pyx
index 9d5b15a..da86c0a 100644
--- a/Wrappers/Python/src/fista_module_gpu.pyx
+++ b/Wrappers/Python/src/fista_module_gpu.pyx
@@ -31,12 +31,12 @@ def Diff4thHajiaboli(inputData,
regularization_parameter,
iterations,
edge_preserving_parameter):
- if inputData.ndims == 2:
+ if inputData.ndim == 2:
return Diff4thHajiaboli2D(inputData,
regularization_parameter,
iterations,
edge_preserving_parameter)
- elif inputData.ndims == 3:
+ elif inputData.ndim == 3:
return Diff4thHajiaboli3D(inputData,
regularization_parameter,
iterations,