Skip to content

Commit b417863

Browse files
fixup! Use sparse arrays in get_array
1 parent 6880e73 commit b417863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solvers/refinement/string_refinement.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ static optionalt<exprt> get_array(
941941
msg << "consider reducing string-max-input-length so that no string "
942942
<< "exceeds " << MAX_CONCRETE_STRING_SIZE << " in length and make sure"
943943
<< " all functions returning strings are available in the classpath";
944-
std::runtime_error(msg.str());
944+
throw string_refinement_invariantt(msg.str());
945945
}
946946

947947
if(

0 commit comments

Comments
 (0)