@@ -141,8 +141,8 @@ def randomize(self, ri : RandInfo, bound_m : Dict[FieldModel,VariableBoundModel]
141141 while rs_i < len (ri .randsets ()):
142142 btor = Boolector ()
143143 self .btor = btor
144- btor .Set_opt (pyboolector .BTOR_OPT_INCREMENTAL , True )
145- btor .Set_opt (pyboolector .BTOR_OPT_MODEL_GEN , True )
144+ btor .Set_opt (pyboolector .BtorOption . BTOR_OPT_INCREMENTAL , True )
145+ btor .Set_opt (pyboolector .BtorOption . BTOR_OPT_MODEL_GEN , True )
146146
147147 start_rs_i = rs_i
148148
@@ -306,8 +306,8 @@ def create_diagnostics_1(self, active_randsets) -> str:
306306 ret = ""
307307
308308 btor = Boolector ()
309- btor .Set_opt (pyboolector .BTOR_OPT_INCREMENTAL , True )
310- btor .Set_opt (pyboolector .BTOR_OPT_MODEL_GEN , True )
309+ btor .Set_opt (pyboolector .BtorOption . BTOR_OPT_INCREMENTAL , True )
310+ btor .Set_opt (pyboolector .BtorOption . BTOR_OPT_MODEL_GEN , True )
311311 model_valid = False
312312
313313 diagnostic_constraint_l = []
@@ -383,8 +383,8 @@ def create_diagnostics_1(self, active_randsets) -> str:
383383 def create_diagnostics (self , active_randsets ) -> str :
384384
385385 btor = Boolector ()
386- btor .Set_opt (pyboolector .BTOR_OPT_INCREMENTAL , True )
387- btor .Set_opt (pyboolector .BTOR_OPT_MODEL_GEN , True )
386+ btor .Set_opt (pyboolector .BtorOption . BTOR_OPT_INCREMENTAL , True )
387+ btor .Set_opt (pyboolector .BtorOption . BTOR_OPT_MODEL_GEN , True )
388388 model_valid = False
389389
390390 diagnostic_constraint_l = []
0 commit comments