mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[poincare] Lower the recursion limit on Symbols replacement
The limit is still reasonnable and prevents stack overflows that we do not handle yet
This commit is contained in:
committed by
EmilieNumworks
parent
8ef394d440
commit
cedcdc2f5f
@@ -259,7 +259,7 @@ protected:
|
||||
Expression setSign(ExpressionNode::Sign s, Context & context, Preferences::AngleUnit angleUnit);
|
||||
|
||||
private:
|
||||
static constexpr int k_maxSymbolReplacementsCount = 30;
|
||||
static constexpr int k_maxSymbolReplacementsCount = 10;
|
||||
static bool sSymbolReplacementsCountLock;
|
||||
/* Simplification */
|
||||
Expression deepReduce(Context & context, Preferences::AngleUnit angleUnit, bool replaceSymbols = true);
|
||||
|
||||
Reference in New Issue
Block a user