From 83675a9b0f4ba12b98a38add3f63926c9bc056af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Pecka?= <peckato1@fit.cvut.cz> Date: Sun, 7 Sep 2014 00:04:09 +0200 Subject: [PATCH] algo: brzozowski: wrong regexp to call --- alib2algo/src/conversions/re2fa/Brzozowski.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alib2algo/src/conversions/re2fa/Brzozowski.cpp b/alib2algo/src/conversions/re2fa/Brzozowski.cpp index d420f67ab6..3de12a3997 100644 --- a/alib2algo/src/conversions/re2fa/Brzozowski.cpp +++ b/alib2algo/src/conversions/re2fa/Brzozowski.cpp @@ -117,7 +117,7 @@ automaton::NFA Brzozowski::convert(const regexp::RegExp& regexp) for(const auto& r : Q) { - regexp.getData().Accept((void*) &out, *this); + r.getData().Accept((void*) &out, *this); if(out.second) // if(r.containsEmptyString()) automaton.addFinalState(stateMap.find(r)->second); } -- GitLab