Support empty n-aries
This commit is contained in:
@@ -486,8 +486,6 @@ impl Formula
|
||||
{
|
||||
pub fn and(arguments: Formulas) -> Self
|
||||
{
|
||||
assert!(!arguments.is_empty());
|
||||
|
||||
Self::And(arguments)
|
||||
}
|
||||
|
||||
@@ -537,8 +535,6 @@ impl Formula
|
||||
|
||||
pub fn if_and_only_if(arguments: Formulas) -> Self
|
||||
{
|
||||
assert!(!arguments.is_empty());
|
||||
|
||||
Self::IfAndOnlyIf(arguments)
|
||||
}
|
||||
|
||||
@@ -570,8 +566,6 @@ impl Formula
|
||||
|
||||
pub fn or(arguments: Formulas) -> Self
|
||||
{
|
||||
assert!(!arguments.is_empty());
|
||||
|
||||
Self::Or(arguments)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user