Skip to content

Commit

Permalink
fixed a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamonDinoia committed Jul 26, 2024
1 parent dc3a628 commit b3237f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cufinufft/impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b3237f7

Please sign in to comment.