mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[poincare] Fix Product constructor
This commit is contained in:
@@ -34,11 +34,11 @@ friend class ProductNode;
|
||||
public:
|
||||
Product();
|
||||
Product(const ProductNode * n) : Expression(n) {}
|
||||
Product(Expression operand0, Expression operand1, Expression operand2, Expression op) : Product() {
|
||||
Product(Expression operand0, Expression operand1, Expression operand2, Expression operand3) : Product() {
|
||||
replaceChildAtIndexInPlace(0, operand0);
|
||||
replaceChildAtIndexInPlace(1, operand1);
|
||||
replaceChildAtIndexInPlace(2, operand2);
|
||||
replaceChildAtIndexInPlace(3, operand2);
|
||||
replaceChildAtIndexInPlace(3, operand3);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user