diff phase2/treeLinkFeatures.m @ 12:d0bd98e7b6c9

fixing error where crash at end of file, for treeLinkFeatures
author DaveM
date Fri, 10 Feb 2017 14:32:07 +0000
parents 29304e7bfead
children 0718e03cb36d
line wrap: on
line diff
--- a/phase2/treeLinkFeatures.m	Fri Feb 10 12:18:20 2017 +0000
+++ b/phase2/treeLinkFeatures.m	Fri Feb 10 14:32:07 2017 +0000
@@ -13,9 +13,9 @@
 featureList = cell(listSize-1,1);
 currentRow = [2*listSize-1];
 
-
+%%
 while (length(currentRow) > 0)
-    if(currentRow(1) >= listSize) 
+    if(currentRow(1) > listSize) 
         row = currentRow(1) - listSize
         classList = traceLinkageToBinary(linkList, row);
         featureList{row} = rfFeatureSelection(data(classList>0,:), classList(classList>0));