diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2012-03-21 18:21:43 +0100 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2012-03-21 18:21:43 +0100 |
commit | 15201cd05b255de629bde80938ccf18e23222452 (patch) | |
tree | f9e9e61e47e16becc162745170e2eadca59a281b /Tools | |
parent | acbdf7d52188f53c1175fe68bd43d8194e32797f (diff) |
KrancScript.m: Add exp function
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/CodeGen/KrancScript.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/CodeGen/KrancScript.m b/Tools/CodeGen/KrancScript.m index e757011..0853966 100644 --- a/Tools/CodeGen/KrancScript.m +++ b/Tools/CodeGen/KrancScript.m @@ -142,7 +142,7 @@ process["func"["name"[name_],exprs__]] := Module[ {fns}, fns = {"sin" -> Sin, "cos" -> Cos, "if" -> IfThen, "max" -> Max, - "sqrt" -> Sqrt}; + "sqrt" -> Sqrt, "exp" -> Exp}; If[MemberQ[First/@fns,name], (name/.fns)@@Map[process,{exprs}], ThrowError["Unrecognised function: ", name]]]; |