We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08812b3 commit f3f6030Copy full SHA for f3f6030
src/solvers/refinement/string_refinement_util.cpp
@@ -478,7 +478,8 @@ optionalt<exprt> string_dependencest::eval(
478
return eval_string_cache[it->second];
479
480
const auto node = string_nodes[it->second];
481
- if(const auto &f = node.result_from)
+ const auto &f = node.result_from;
482
+ if(f && node.dependencies.size() == 1 && !node.depends_on_unknown_builtin_function)
483
{
484
const auto value_opt = get_builtin_function(*f).eval(get_value);
485
eval_string_cache[it->second] = value_opt;
0 commit comments