Skip to content

Commit

Permalink
Merge pull request #1820 from smowton/smowton/fix/remove-string-solve…
Browse files Browse the repository at this point in the history
…r-iteration-limit

Remove string solver iteration limit
  • Loading branch information
smowton authored Feb 14, 2018
2 parents 0f20482 + 1ac9abe commit ef08ae2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cbmc/cbmc_solvers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ std::unique_ptr<cbmc_solverst::solvert> cbmc_solverst::get_string_refinement()
auto prop=util_make_unique<satcheck_no_simplifiert>();
prop->set_message_handler(get_message_handler());
info.prop=prop.get();
info.refinement_bound=MAX_NB_REFINEMENT;
info.refinement_bound=DEFAULT_MAX_NB_REFINEMENT;
info.ui=ui;
if(options.get_bool_option("string-max-length"))
info.string_max_length=options.get_signed_int_option("string-max-length");
Expand Down
2 changes: 1 addition & 1 deletion src/solvers/refinement/string_refinement.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Author: Alberto Griggio, [email protected]
#include <solvers/refinement/string_constraint_generator.h>
#include <solvers/refinement/string_refinement_invariant.h>

#define MAX_NB_REFINEMENT 100
#define DEFAULT_MAX_NB_REFINEMENT std::numeric_limits<size_t>::max()
#define CHARACTER_FOR_UNKNOWN '?'

struct index_set_pairt
Expand Down

0 comments on commit ef08ae2

Please sign in to comment.