mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 09:17:23 +01:00
[poincare] Create a a flag on Expression that is set when the
approximation encouters a complex value All approximation methods take the complex format into account.
This commit is contained in:
@@ -85,7 +85,7 @@ Evaluation<T> FunctionNode::templatedApproximate(Context& context, Preferences::
|
||||
if (e.isUninitialized()) {
|
||||
return Complex<T>::Undefined();
|
||||
}
|
||||
return e.approximateToEvaluation<T>(context, angleUnit);
|
||||
return e.node()->approximate(T(), context, angleUnit);
|
||||
}
|
||||
|
||||
Function::Function(const char * name, size_t length) :
|
||||
|
||||
Reference in New Issue
Block a user