diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2010-03-08 14:56:50 -0600 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2010-03-08 14:56:50 -0600 |
commit | f6f5a7d421af26fbc240e1f92466af2206b1228e (patch) | |
tree | c889cd69c225e9bb835da26a5314ee9314a5c178 /Tools/CodeGen/CodeGen.m | |
parent | 11fc168e7e12be14956b4472e85838abf6d25128 (diff) |
Remove const statements where possible
Diffstat (limited to 'Tools/CodeGen/CodeGen.m')
-rw-r--r-- | Tools/CodeGen/CodeGen.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/CodeGen/CodeGen.m b/Tools/CodeGen/CodeGen.m index 1fb2a05..e7799a1 100644 --- a/Tools/CodeGen/CodeGen.m +++ b/Tools/CodeGen/CodeGen.m @@ -294,8 +294,8 @@ MaybeAssignVariableInLoop[dest_, src_, cond_] := DeclareMaybeAssignVariableInLoop[type_, dest_, src_, mmaCond_, codeCond_] := If [mmaCond, - {type, " const ", dest, " = (", codeCond, ") ? (", src, ") : 0.0", EOL[]}, - {type, " const ", dest, " = ", src, EOL[]}]; + {type, " ", dest, " = (", codeCond, ") ? (", src, ") : 0.0", EOL[]}, + {type, " ", dest, " = ", src, EOL[]}]; (* TODO: move these into OpenMP loop *) DeclareVariablesInLoopVectorised[dests_, temps_, srcs_] := |