mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[poincare] Fix AdditionalInformationType: fix typo
This commit is contained in:
@@ -256,7 +256,7 @@ Expression::AdditionalInformationType Expression::additionalInformationType(Cont
|
||||
return AdditionalInformationType::Integer;
|
||||
}
|
||||
// Find forms like [12]/[23] or [-12]/[23] or [12]/[-23] or [-12]/[-23]
|
||||
if (t == ExpressionNode::Type::Division && IsSignedBasedInteger(childAtIndex(1)) && IsSignedBasedInteger(childAtIndex(1))) {
|
||||
if (t == ExpressionNode::Type::Division && IsSignedBasedInteger(childAtIndex(0)) && IsSignedBasedInteger(childAtIndex(1))) {
|
||||
return AdditionalInformationType::Rational;
|
||||
}
|
||||
if (t == ExpressionNode::Type::Cosine || t == ExpressionNode::Type::Sine) {
|
||||
|
||||
Reference in New Issue
Block a user