mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[poincare/addition] Addition has no Unit
This commit is contained in:
committed by
Émilie Feral
parent
121e16a6a5
commit
2fea3c9b3a
@@ -35,7 +35,6 @@ public:
|
||||
template<typename T> static MatrixComplex<T> computeOnComplexAndMatrix(const std::complex<T> c, const MatrixComplex<T> m, Preferences::ComplexFormat complexFormat) {
|
||||
return MatrixComplex<T>::Undefined();
|
||||
}
|
||||
Expression getUnit() const override;
|
||||
|
||||
// Simplification
|
||||
LayoutShape leftLayoutShape() const override {
|
||||
|
||||
@@ -29,11 +29,6 @@ int AdditionNode::getPolynomialCoefficients(Context * context, const char * symb
|
||||
return Addition(this).getPolynomialCoefficients(context, symbolName, coefficients, symbolicComputation);
|
||||
}
|
||||
|
||||
Expression AdditionNode::getUnit() const {
|
||||
// The expression is reduced, so we can just ask the unit of the first child
|
||||
return childAtIndex(0)->getUnit();
|
||||
}
|
||||
|
||||
// Layout
|
||||
|
||||
Layout AdditionNode::createLayout(Preferences::PrintFloatMode floatDisplayMode, int numberOfSignificantDigits) const {
|
||||
|
||||
Reference in New Issue
Block a user