Skip to content
Snippets Groups Projects
Commit 7fb1a9e2 authored by Matthew Webster's avatar Matthew Webster
Browse files

float not int

parent aedb0858
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ int fslcreatehd_main(int argc, char *argv[]) ...@@ -53,7 +53,7 @@ int fslcreatehd_main(int argc, char *argv[])
for (int i=1;i<=4;i++) for (int i=1;i<=4;i++)
header.dim[i]=atoi(argv[i]); header.dim[i]=atoi(argv[i]);
for (int i=1;i<=4;i++) for (int i=1;i<=4;i++)
header.pixdim[i]=atoi(argv[i+4]); header.pixdim[i]=atof(argv[i+4]);
if ( atoi(argv[9]) != 0 || atoi(argv[10]) != 0 || atoi(argv[11]) != 0 ) { if ( atoi(argv[9]) != 0 || atoi(argv[10]) != 0 || atoi(argv[11]) != 0 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment