Commit c63ccde7 authored by Rohan Budhiraja's avatar Rohan Budhiraja
Browse files

[example/cppadcg_c_codegen] print generated code

parent 0c9e2797
......@@ -41,4 +41,5 @@ jac = fun.Jacobian(indVars)
langC = LanguageC("double", 3)
nameGen = LangCDefaultVariableNameGenerator("y","x","v","array","sarray")
handler.generateCode(langC, jac, nameGen, "")
code = handler.generateCode(langC, jac, nameGen, "source")
print(code)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment