mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Do not display exact result if equals to undef
This commit is contained in:
committed by
EmilieNumworks
parent
1d7bd2b70a
commit
c6ec8310b2
@@ -188,6 +188,9 @@ bool Calculation::shouldOnlyDisplayApproximateOutput(Context * context) {
|
||||
if (strcmp(m_exactOutputText, m_approximateOutputText) == 0) {
|
||||
return true;
|
||||
}
|
||||
if (strcmp(m_exactOutputText, "undef") == 0) {
|
||||
return true;
|
||||
}
|
||||
return input()->isApproximate(*context);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user