Skip to content

Commit

Permalink
Add unistd.h as it is required by compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
notValord committed Jun 1, 2024
1 parent 35f77ce commit 6c531b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions include/mata/nfa/nfa.hh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <utility>
#include <vector>
#include <queue>
#include <unistd.h>

#include "mata/alphabet.hh"
#include "mata/parser/parser.hh"
Expand Down
4 changes: 2 additions & 2 deletions src/nfa/operations.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1042,12 +1042,12 @@ Nfa mata::nfa::reduce(const Nfa &aut, StateRenaming *state_renaming, const Param
}
const std::string& solver_type = params.at("solver");

if (solver_type == "qbf"){
if (solver_type == "qbf") {
result = reduce_qbf(aut);
} else {
result = reduce_sat(aut, params);
}
} else {
} else {
throw std::runtime_error(std::to_string(__func__) +
" received an unknown value of the \"algorithm\" key: " + algorithm);
}
Expand Down

0 comments on commit 6c531b4

Please sign in to comment.