Skip to content

Commit

Permalink
Re #1791 started fixing combine. Incomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Jan 9, 2025
1 parent df35595 commit f810be2
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -429,21 +429,21 @@
for ii=2:numel(objs)
for jj=1:objs{ii}.n_runs
out_obj = objs{ii}.get(jj);
out_hsh = objs{ii}.hash(jj);
[~,index] = ismember(out_hsh, out.stored_hashes_);
if index==0, index = []; end
out = out.add_single_(out_obj,index,out_hsh); %( objs{ii}.get(jj) );
%out_hsh = build_hash(out_obj);
%[~,index] = ismember(out_hsh, out.stored_hashes_);
%if index==0, index = []; end
%out = out.add_single_(out_obj,index); %( objs{ii}.get(jj) );
end
end
else
out = objs(1);
for ii=2:numel(objs)
for jj=1:objs(ii).n_runs
out_obj = objs(ii).get(jj);
out_hsh = objs(ii).hash(jj);
out_hsh = build_hash(out_obj);
[~,index] = ismember(out_hsh, out.stored_hashes_);
if index==0, index = []; end
out = out.add_single_(out_obj,index,out_hsh); %( objs{ii}.get(jj) );
out = out.add_single_(out_obj,index); %( objs{ii}.get(jj) );
end
end
end
Expand Down

0 comments on commit f810be2

Please sign in to comment.