Skip to content

Commit e59349f

Browse files
Remove redundant check in from_int_with_radix
1 parent 038b476 commit e59349f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solvers/refinement/string_constraint_generator_valueof.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ exprt string_constraint_generatort::add_axioms_from_int_with_radix(
139139
const exprt &radix,
140140
size_t max_size)
141141
{
142-
PRECONDITION(max_size==0 || max_size<std::numeric_limits<size_t>::max());
142+
PRECONDITION(max_size < std::numeric_limits<size_t>::max());
143143
const typet &type=input_int.type();
144144
PRECONDITION(type.id()==ID_signedbv);
145145

0 commit comments

Comments
 (0)