From 1b920077394f7abebfdb3c34032556d0cfca100a Mon Sep 17 00:00:00 2001 From: Wolfgang Ludwig <wolfgang.ludwig@esrf.fr> Date: Thu, 19 May 2016 10:55:47 +0200 Subject: [PATCH] remove some leftovers (+) from code merging Signed-off-by: Wolfgang Ludwig <wolfgang.ludwig@esrf.fr> --- 5_reconstruction/GtAssembleVol3D.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/5_reconstruction/GtAssembleVol3D.m b/5_reconstruction/GtAssembleVol3D.m index 233314b0..8c0136d3 100644 --- a/5_reconstruction/GtAssembleVol3D.m +++ b/5_reconstruction/GtAssembleVol3D.m @@ -849,10 +849,10 @@ classdef GtAssembleVol3D < handle % Sample translation sample_shift = obj.localPar.sample_shift; -+ sample_shift_size = size(sample_shift); -+ if sample_shift_size(2)<3 -+ sample_shift = [0, 0, 0]; -+ end + sample_shift_size = size(sample_shift); + if sample_shift_size(2)<3 + sample_shift = [0, 0, 0]; + end % the bbox extremes start from 0 ad not from 1 (matlab coords). -- GitLab