Commits

Jian Zhou  committed b286d4a

SVMhierarchy update

  • Participants
  • Parent commits f336e82

Comments (0)

Files changed (2)

File src/svmstructtree.cpp

 				nodes[i]->isLeafnode=1;
 			else
 				nodes[i]->isLeafnode=0;
-			nodes[i]->next = NULL;
-			nodes[i]->subleavescount = nodes[i]->n_children; 
 			nodes[i]->weight = 1;
 		}
 

File tools/SVMhierarchy/SVMhierarchy.cpp

 			vecLabels = SVM.ReadLabels(ifsm);
 		else {
 			cerr << "Could not read label file" << endl;
-			return 1;
+			exit(1);
 		}
 		for (i = 0; i < vecLabels.size(); i++)
 			setLabeledGenes.insert(vecLabels[i].GeneName);