Skip to content

Commit

Permalink
Add missing const array check
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanoKobalamyne committed Jun 13, 2024
1 parent 45c8f72 commit 0166c83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bitwuzla/src/bitwuzla_term.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,10 @@ bool BzlaTerm::is_symbolic_const() const
return (term.is_const() && !(term.sort().is_fun()));
}

bool BzlaTerm::is_value() const { return term.is_value(); }
bool BzlaTerm::is_value() const
{
return term.is_value() || term.kind() == bitwuzla::Kind::CONST_ARRAY;
}

std::string BzlaTerm::to_string() { return term.str(); }

Expand Down

0 comments on commit 0166c83

Please sign in to comment.