mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[solver] Take into account the complexFormat Real
This commit is contained in:
@@ -43,6 +43,10 @@ Expression Equation::standardForm(Context * context) const {
|
||||
return m_standardForm;
|
||||
}
|
||||
|
||||
bool Equation::containsIComplex() const {
|
||||
return strchr(text(), Ion::Charset::IComplex) != nullptr;
|
||||
}
|
||||
|
||||
void Equation::tidyStandardForm() {
|
||||
// Free the pool of the m_standardForm
|
||||
m_standardForm = Expression();
|
||||
|
||||
Reference in New Issue
Block a user