Skip to content

Commit 716ffec

Browse files
author
Daniel Kroening
authored
Merge pull request #3303 from chrisr-diffblue/throw-fix
Insert missing "throw" keyword
2 parents 9d976e6 + 5c580d8 commit 716ffec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solvers/flattening/boolbv_width.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const boolbv_widtht::entryt &boolbv_widtht::get_entry(const typet &type) const
153153

154154
mp_integer total = vector_size * sub_width;
155155
if(total > (1 << 30)) // realistic limit
156-
analysis_exceptiont("vector too large for flattening");
156+
throw analysis_exceptiont("vector too large for flattening");
157157

158158
entry.total_width = numeric_cast_v<std::size_t>(vector_size * sub_width);
159159
}

0 commit comments

Comments
 (0)