mirror of https://github.com/YosysHQ/yosys.git
ezSAT bugfix: don't call virtual methods in base class constructor
This commit is contained in:
parent
edc2146056
commit
23f0a12c72
|
@ -35,6 +35,9 @@ ezMiniSAT::ezMiniSAT() : minisatSolver(NULL)
|
|||
{
|
||||
minisatSolver = NULL;
|
||||
foundContradiction = false;
|
||||
|
||||
freeze(TRUE);
|
||||
freeze(FALSE);
|
||||
}
|
||||
|
||||
ezMiniSAT::~ezMiniSAT()
|
||||
|
|
|
@ -36,8 +36,8 @@ ezSAT::ezSAT()
|
|||
solverTimeout = 0;
|
||||
solverTimoutStatus = false;
|
||||
|
||||
freeze(literal("TRUE"));
|
||||
freeze(literal("FALSE"));
|
||||
literal("TRUE");
|
||||
literal("FALSE");
|
||||
|
||||
assert(literal("TRUE") == TRUE);
|
||||
assert(literal("FALSE") == FALSE);
|
||||
|
|
Loading…
Reference in New Issue