Skip to content

Commit bee20f1

Browse files
author
Lukasz A.J. Wrona
committed
Remove unused add_lemma parameter
1 parent d03866d commit bee20f1

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/solvers/refinement/string_refinement.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -896,13 +896,12 @@ bvt string_refinementt::convert_bool_bv(const exprt &boole, const exprt &orig)
896896
/// \par parameters: a lemma and Boolean value stating whether the lemma should
897897
/// be added to the index set.
898898
void string_refinementt::add_lemma(
899-
const exprt &lemma, bool _simplify, bool add_to_index_set)
899+
const exprt &lemma, bool _simplify)
900900
{
901901
if(!seen_instances.insert(lemma).second)
902902
return;
903903

904-
if(add_to_index_set)
905-
cur.push_back(lemma);
904+
cur.push_back(lemma);
906905

907906
exprt simple_lemma=lemma;
908907
if(_simplify)

src/solvers/refinement/string_refinement.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ class string_refinementt final: public bv_refinementt
9494
// Content of char arrays found during concretization
9595
std::map<exprt, array_exprt> found_content;
9696

97-
void add_lemma(const exprt &lemma,
98-
bool simplify=true,
99-
bool add_to_index_set=true);
97+
void add_lemma(const exprt &lemma, bool simplify=true);
10098
};
10199
#endif

0 commit comments

Comments
 (0)