mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
[poincare] A non defined symbol is not real
This fixes the equation "conj(x) * x +1", that should not be treated as a polynom
This commit is contained in:
@@ -74,7 +74,7 @@ Expression SymbolAbstract::Expand(const SymbolAbstract & symbol, Context & conte
|
||||
bool SymbolAbstract::isReal(const SymbolAbstract & symbol, Context & context) {
|
||||
Expression e = SymbolAbstract::Expand(symbol, context, false);
|
||||
if (e.isUninitialized()) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
return e.isReal(context);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user