Skip to content

Commit

Permalink
analyzer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
uecker committed Nov 30, 2023
1 parent cbb6016 commit 49bd132
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/mobafit.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ int main_mobafit(int argc, char* argv[argc])
bounds.min = bound_min;
bounds.max = bound_max;

enum seq_type { BSSFP, FLASH, TSE, MOLLI, MGRE, DIFF, IR_LL, IR } seq = MGRE;
enum seq_type { /* BSSFP, FLASH, MOLLI, */ TSE, MGRE, DIFF, IR_LL, IR } seq = MGRE;

unsigned int mgre_model = MECO_WFR2S;

Expand Down Expand Up @@ -347,8 +347,6 @@ int main_mobafit(int argc, char* argv[argc])
nlop = nlop_flatten(nl);
nlop_free(nl);
break;

default: ;
}

if (use_magn) {
Expand All @@ -357,6 +355,8 @@ int main_mobafit(int argc, char* argv[argc])
nlop = nlop_chain_FF(nlop, nlop_zabs_create(DIMS, y_patch_dims));
}

assert(nlop);


complex float init[DIMS];
complex float scale[DIMS];
Expand Down Expand Up @@ -413,12 +413,12 @@ int main_mobafit(int argc, char* argv[argc])

if (bart_use_gpu) {

#ifdef USE_CUDA
#ifdef USE_CUDA
y_patch = md_alloc_gpu(DIMS, y_patch_dims, CFL_SIZE);
x_patch = md_alloc_gpu(DIMS, x_patch_dims, CFL_SIZE);
#else
#else
error("Compiled without GPU support!\n");
#endif
#endif

} else {

Expand Down

0 comments on commit 49bd132

Please sign in to comment.