Commit b9fa73e5 authored by Colin Eles's avatar Colin Eles
Browse files

fixed an error where Cells turned into cells for some reason

git-svn-id: https://groke.mcmaster.ca/svn/grad/colin/trunk/TableTool@6228 57e6efec-57d4-0310-aeb1-a6c144bb1a8b
parent a9572dc0
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -12,9 +12,9 @@
% Organization: McMaster Centre for Software Certification
function cell = search_return(object,cell1,cell2)
cell = [];
for i=1:size(object.cells,2)
    if (object.cells(i).cell1 == cell1 && object.cells(i).cell2 == cell2);
        cell = object.cells(i);
for i=1:size(object.Cells,2)
    if (object.Cells(i).Cell1 == cell1 && object.Cells(i).Cell2 == cell2);
        cell = object.Cells(i);
    end
end
end