diff options
author | Ian Hinder <ian@vaio.(none)> | 2008-02-01 22:16:46 -0500 |
---|---|---|
committer | Ian Hinder <ian@vaio.(none)> | 2008-02-01 22:16:46 -0500 |
commit | 9b07c7e619dc2aafec1e09e25958e5a23a4f57a6 (patch) | |
tree | 0cb5de13c274b47f53521b1fae35543d4058e7c2 /Tools/CodeGen/Differencing.m | |
parent | ec14135b138c6f5c4b1652d76ce2b8056c290f05 (diff) |
Erik's addition of a comment before declaring derivatives
Diffstat (limited to 'Tools/CodeGen/Differencing.m')
-rw-r--r-- | Tools/CodeGen/Differencing.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/CodeGen/Differencing.m b/Tools/CodeGen/Differencing.m index 9032234..61b7376 100644 --- a/Tools/CodeGen/Differencing.m +++ b/Tools/CodeGen/Differencing.m @@ -193,7 +193,8 @@ DeclareDerivatives[derivOps_, expr_] := Map[DerivativeOperatorVerify, derivOps]; gfds = GridFunctionDerivativesInExpression[derivOps, expr]; sortedgfds = Sort[gfds, ordergfds]; - Map[DeclareDerivative, sortedgfds]]; + {"/* Declare derivatives */\n", + Map[DeclareDerivative, sortedgfds]}]; ReplaceDerivatives[derivOps_, expr_, precompute_] := Module[{componentDerivOps, gfds}, |