summaryrefslogtreecommitdiff
path: root/src/mp-equation.c
diff options
context:
space:
mode:
authorSteve Zesch <[email protected]>2012-11-16 15:46:03 -0500
committerSteve Zesch <[email protected]>2012-11-16 15:46:03 -0500
commit36cc53cb4431d9a800fcce667135e32dd38fa788 (patch)
treeaabacb50cee9afd8d9e4b10a61d995eaddde2751 /src/mp-equation.c
parent1cfad684d98f3f9648069f093b761f1885cefd7d (diff)
downloadmate-calc-36cc53cb4431d9a800fcce667135e32dd38fa788.tar.bz2
mate-calc-36cc53cb4431d9a800fcce667135e32dd38fa788.tar.xz
Fixed unknown variable error when using inverse trig buttons.
Diffstat (limited to 'src/mp-equation.c')
-rw-r--r--src/mp-equation.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mp-equation.c b/src/mp-equation.c
index cba203f..cec5536 100644
--- a/src/mp-equation.c
+++ b/src/mp-equation.c
@@ -141,6 +141,7 @@ function_is_defined(MPEquationParserState *state, const char *name)
strcmp(lower_name, "im") == 0 ||
strcmp(lower_name, "sin") == 0 || strcmp(lower_name, "cos") == 0 || strcmp(lower_name, "tan") == 0 ||
strcmp(lower_name, "sin⁻¹") == 0 || strcmp(lower_name, "cos⁻¹") == 0 || strcmp(lower_name, "tan⁻¹") == 0 ||
+ strcmp(lower_name, "asin") == 0 || strcmp(lower_name, "acos") == 0 || strcmp(lower_name, "atan") == 0 ||
strcmp(lower_name, "sinh") == 0 || strcmp(lower_name, "cosh") == 0 || strcmp(lower_name, "tanh") == 0 ||
strcmp(lower_name, "sinh⁻¹") == 0 || strcmp(lower_name, "cosh⁻¹") == 0 || strcmp(lower_name, "tanh⁻¹") == 0 ||
strcmp(lower_name, "asinh") == 0 || strcmp(lower_name, "acosh") == 0 || strcmp(lower_name, "atanh") == 0 ||