Skip to content

Commit

Permalink
mri_edit_wm_with_aseg.cpp. #BF. Removed print statement that referenc…
Browse files Browse the repository at this point in the history
…ed a hard-coded index in an MRI; probably something left over from tracking down a bug, but it could cause a seg fault if the index was out of range of the MRI.
  • Loading branch information
Douglas Greve committed May 24, 2021
1 parent 77845c6 commit fd39b86
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mri_edit_wm_with_aseg/mri_edit_wm_with_aseg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,7 @@ main(int argc, char *argv[])
exit(1);
}
MRIcopyLabel(mri_old, mri_wm, WM_EDITED_ON_VAL) ;
printf("115,126,128 old %g new %g\n",MRIgetVoxVal(mri_old,115,126,128,0),
MRIgetVoxVal(mri_old,115,126,128,0));
MRIcopyLabel(mri_old, mri_wm, WM_EDITED_OFF_VAL) ;
printf("115,126,128 old %g new %g\n",MRIgetVoxVal(mri_old,115,126,128,0),
MRIgetVoxVal(mri_old,115,126,128,0));
MRIfree(&mri_old) ;
}
if (lh_only || rh_only)
Expand Down

0 comments on commit fd39b86

Please sign in to comment.