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-25 15:52:51 +0000
commit6326ac55e9e28c9f02aed3a68830fd705c1ed053 (patch)
tree3fb1b804f03891907d15595eb92e6a61339fce01 /Wrappers
parentfc22de89c6ac689001a35cc4d7b213056a296798 (diff)
downloadregularization-6326ac55e9e28c9f02aed3a68830fd705c1ed053.tar.gz
regularization-6326ac55e9e28c9f02aed3a68830fd705c1ed053.tar.bz2
regularization-6326ac55e9e28c9f02aed3a68830fd705c1ed053.tar.xz
regularization-6326ac55e9e28c9f02aed3a68830fd705c1ed053.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,