diff --git a/src/tools/define_input.m b/src/tools/define_input.m index 76602ac..72d9311 100644 --- a/src/tools/define_input.m +++ b/src/tools/define_input.m @@ -72,9 +72,9 @@ %% Estimate the PatchDiam and BallRad parameters for i = 1:nt + % Select point cloud + P = matobj.(names{i}); if nt > 1 - % Select point cloud - P = matobj.(names{i}); inputs(i) = Inputs; inputs(i).name = names{i}; inputs(i).tree = i;