We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 213a685 + 083c701 commit f6cd25dCopy full SHA for f6cd25d
src/pdaaal/model/PDA.cpp
@@ -144,7 +144,6 @@ namespace pdaaal
144
{
145
std::queue<size_t> waiting;
146
std::vector<bool> in_waiting(_states.size());
147
- in_waiting[_initial_id] = true; // we don't ever prune initial.
148
for (size_t t = 0; t < _states.size(); ++t) {
149
in_waiting[t] = true;
150
waiting.push(t);
@@ -153,7 +152,7 @@ namespace pdaaal
153
152
while (!waiting.empty()) {
154
auto s = waiting.front();
155
waiting.pop();
156
- if (s == _initial_id) continue;
+ if (s == 0) continue; // We don't prune terminal.
157
in_waiting[s] = false;
158
std::set<uint32_t> usefull_tos;
159
bool cont = false;
0 commit comments