mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-30 12:10:03 +02:00
[poincare] Don't assert on the number of arguments of LCM
Change-Id: I345552f56267d9a94ad49f745c07bc48002483dc
This commit is contained in:
@@ -19,7 +19,6 @@ Expression::Type LeastCommonMultiple::type() const {
|
||||
|
||||
Expression * LeastCommonMultiple::cloneWithDifferentOperands(Expression** newOperands,
|
||||
int numberOfOperands, bool cloneOperands) const {
|
||||
assert(numberOfOperands == 2);
|
||||
assert(newOperands != nullptr);
|
||||
LeastCommonMultiple * lcm = new LeastCommonMultiple();
|
||||
lcm->setArgument(newOperands, numberOfOperands, cloneOperands);
|
||||
|
||||
Reference in New Issue
Block a user