Skip to content
Snippets Groups Projects
Commit 6fd7aa32 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

alog: remove not needed condition fragment

parent 31db84a8
No related branches found
No related tags found
1 merge request!203Adress some more clang-tidy issues
......@@ -90,7 +90,7 @@ automaton::NFA < typename AutomatonType::SymbolType, ext::pair < typename Automa
for ( const auto & t : second.getTransitionsFromState ( second.getInitialState ( ) ) )
res.addTransition ( q01q02, t.first.second, { t.second, SECOND } );
 
if ( first.getFinalStates ( ).contains ( first.getInitialState() ) && second.getFinalStates().contains(second.getInitialState()))
if ( second.getFinalStates().contains(second.getInitialState()))
res.addFinalState ( q01q02 );
}
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment