Browse Source

Accessing index of node via method interface, not member access.

Former-commit-id: d53006d5d4
tempestpy_adaptions
dehnert 11 years ago
parent
commit
3940dbf45c
  1. 2
      src/storage/dd/CuddDdManager.cpp

2
src/storage/dd/CuddDdManager.cpp

@ -192,7 +192,7 @@ namespace storm {
}
// Then, we sort this list according to the indices of the ADDs.
std::sort(variableNamePairs.begin(), variableNamePairs.end(), [](std::pair<ADD, std::string> const& a, std::pair<ADD, std::string> const& b) { return a.first.getNode()->index < b.first.getNode()->index; });
std::sort(variableNamePairs.begin(), variableNamePairs.end(), [](std::pair<ADD, std::string> const& a, std::pair<ADD, std::string> const& b) { return a.first.NodeReadIndex() < b.first.NodeReadIndex(); });
// Now, we project the sorted vector to its second component.
std::vector<std::string> result;

Loading…
Cancel
Save