Improve Clause constructor
This commit is contained in:
parent
278f8f77f5
commit
d2ae171bb5
@ -67,7 +67,7 @@ typedef vector<Literal> Literals;
|
|||||||
class Clause
|
class Clause
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Clause (const ConstraintTree& ct) : constr_(ct) { }
|
Clause (const ConstraintTree& ct = ConstraintTree({})) : constr_(ct) { }
|
||||||
|
|
||||||
Clause (vector<vector<string>> names) : constr_(ConstraintTree (names)) { }
|
Clause (vector<vector<string>> names) : constr_(ConstraintTree (names)) { }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user