summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python/src
diff options
context:
space:
mode:
Diffstat (limited to 'Wrappers/Python/src')
-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,