Skip to content

Commit 47b6b33

Browse files
committed
fixup! Do not use optionalt::value()
1 parent 5ef3788 commit 47b6b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solvers/flattening/boolbv_index.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ bvt boolbvt::convert_index(const index_exprt &expr)
9797
auto maybe_index_value = numeric_cast<mp_integer>(index);
9898
if(maybe_index_value.has_value())
9999
{
100-
return convert_index(array, maybe_index_value.value());
100+
return convert_index(array, *maybe_index_value);
101101
}
102102
}
103103

0 commit comments

Comments
 (0)