Skip to content

Commit

Permalink
[fix, tmp] Removed assert for constant.
Browse files Browse the repository at this point in the history
  • Loading branch information
S1eGa committed Nov 18, 2023
1 parent c421267 commit 1a3b629
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Solver/BitwuzlaSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,6 @@ SolverImpl::SolverRunStatus BitwuzlaSolverImpl::handleSolverResponse(
// We can't use Term here so have to do ref counting manually
Term initial_read = builder->getInitialRead(array, offset);
Term initial_read_expr = theSolver.get_value(initial_read);
assert(initial_read_expr.is_const() &&
"Evaluated expression has wrong sort");

uint64_t arrayElementValue =
std::stoull(initial_read_expr.value<std::string>(10));
Expand Down

0 comments on commit 1a3b629

Please sign in to comment.