Skip to content
Snippets Groups Projects
Commit a526d9b7 authored by Stuart Clare's avatar Stuart Clare
Browse files

Fixed bug with updating vy with multicoil processing

parent a392e2f1
No related branches found
No related tags found
No related merge requests found
......@@ -853,9 +853,11 @@ int process(char *infile,char *outfile,struct flags *proc)
if((proc->hks)&&(proc->rover)){
fsegment(data,0,tppl,tppl,(tlpi-hlpi)/2,hlpi,tlpi,0,tipv,tipv,2);
avw_get_vox(&header,&vx,&vy,&vz);
vy=(vy*tlpi)/hlpi;
avw_set_vox(&header,vx,vy,vz);
if(proc->fdf)fdf_set_vox(&fdfheader,vx,vy,vz);
if(i==proc->start){
vy=(vy*tlpi)/hlpi;
avw_set_vox(&header,vx,vy,vz);
if(proc->fdf)fdf_set_vox(&fdfheader,vx,vy,vz);
}
tlpi=hlpi;
}
......
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