Skip to content

Commit

Permalink
SMTChecker: Unsigned number expressions should have unsigned type
Browse files Browse the repository at this point in the history
  • Loading branch information
blishko committed Feb 19, 2024
1 parent ac39886 commit 8770952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsmtutil/SolverInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class Expression
explicit Expression(std::string _name, std::vector<Expression> _arguments, SortPointer _sort):
name(std::move(_name)), arguments(std::move(_arguments)), sort(std::move(_sort)) {}
Expression(size_t _number): Expression(std::to_string(_number), {}, SortProvider::uintSort) {}
Expression(u256 const& _number): Expression(_number.str(), {}, SortProvider::sintSort) {}
Expression(u256 const& _number): Expression(_number.str(), {}, SortProvider::uintSort) {}
Expression(s256 const& _number): Expression(
_number >= 0 ? _number.str() : "-",
_number >= 0 ?
Expand Down

0 comments on commit 8770952

Please sign in to comment.