From 6326ac55e9e28c9f02aed3a68830fd705c1ed053 Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Thu, 25 Jan 2018 15:52:51 +0000 Subject: ndarray has ndim not ndims --- Wrappers/Python/src/fista_module_gpu.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Wrappers/Python/src') 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, -- cgit v1.2.3