diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-08-31 11:12:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-31 11:12:34 +0200 |
commit | a276e6fc363e1ad49a46f18c84c7fb8c30070037 (patch) | |
tree | 714b66678cbcc65acdc1573d3e17b1dfadeb1646 /core/math | |
parent | db5ea78b7bf85ddd9109fa4ac03a7178d446cb58 (diff) | |
parent | d5ffa42cd2420bdaa31d467e8e6e68b41133a038 (diff) |
Merge pull request #40955 from Calinou/test-add-expression
Add a test suite for Expression
Diffstat (limited to 'core/math')
-rw-r--r-- | core/math/expression.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/expression.h b/core/math/expression.h index 59a9a2f4ed..f2cfe6b1a6 100644 --- a/core/math/expression.h +++ b/core/math/expression.h @@ -343,7 +343,7 @@ protected: public: Error parse(const String &p_expression, const Vector<String> &p_input_names = Vector<String>()); - Variant execute(Array p_inputs, Object *p_base = nullptr, bool p_show_error = true); + Variant execute(Array p_inputs = Array(), Object *p_base = nullptr, bool p_show_error = true); bool has_execute_failed() const; String get_error_text() const; |