Skip to content

Commit

Permalink
fixed output to not take into account virtual nodes for types not in …
Browse files Browse the repository at this point in the history
…the subset
  • Loading branch information
josura committed Aug 11, 2023
1 parent e08b7f1 commit fc6c612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mainRefactored.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ int main(int argc, char** argv ) {
tmpCompPointer->setConservationModel(conservationModel);
typeComputations[indexComputation] = tmpCompPointer;
//No inverse computation with the augmented pathway since virtual nodes edges are not yet inserted
typeComputations[indexComputation]->augmentMetapathwayNoComputeInverse(types);
typeComputations[indexComputation]->augmentMetapathwayNoComputeInverse(typesFiltered);
} else {
int index = indexMapGraphTypesToValuesTypes[i];
std::vector<double> input = inputInitials[index];
Expand All @@ -501,7 +501,7 @@ int main(int argc, char** argv ) {
tmpCompPointer->setConservationModel(conservationModel);
typeComputations[indexComputation] = tmpCompPointer;
//No inverse computation with the augmented pathway since virtual nodes edges are not yet inserted
typeComputations[indexComputation]->augmentMetapathwayNoComputeInverse(types);
typeComputations[indexComputation]->augmentMetapathwayNoComputeInverse(typesFiltered);
}
typesIndexes[i] = indexComputation;
invertedTypesIndexes[indexComputation] = i;
Expand Down

0 comments on commit fc6c612

Please sign in to comment.