Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
epnev committed Jul 11, 2017
1 parent 9199604 commit 511658e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion normcorre_batch.m
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
shifts_temp(i,j,k,1) = output(3);
shifts_temp(i,j,k,2) = output(4);
diff_temp(i,j,k) = output(2);
if all([length(xx_s),length(yy_s),length(zz_s)] == 1)
if all([length(xx_s),length(yy_s),length(zz_s)] == 1) && strcmpi(options.shifts_method,'fft');
M_fin{i,j,k} = shift_reconstruct(Yt,shifts_temp(i,j,k,:),diff_temp(i,j,k),us_fac,Nr{i,j,k},Nc{i,j,k},Np{i,j,k},options.boundary,add_value);
end
end
Expand Down

0 comments on commit 511658e

Please sign in to comment.