From b3237f7e29a75232b03e6ce4bc2d5703fe811cb8 Mon Sep 17 00:00:00 2001 From: Marco Barbone Date: Fri, 26 Jul 2024 12:16:53 -0400 Subject: [PATCH] fixed a mistake --- include/cufinufft/impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cufinufft/impl.h b/include/cufinufft/impl.h index 3d6e99b35..dcf00f31b 100644 --- a/include/cufinufft/impl.h +++ b/include/cufinufft/impl.h @@ -143,7 +143,7 @@ int cufinufft_makeplan_impl(int type, int dim, int *nmodes, int iflag, int ntran * * For type 2, we always default to method 1 (GM). */ - if (d_plan->type == 2) { + if (type == 2) { d_plan->opts.gpu_method = 1; } else { // query the device for the amount of shared memory available