Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: print generated code #35

Open
albop opened this issue Jun 14, 2017 · 1 comment
Open

ENH: print generated code #35

albop opened this issue Jun 14, 2017 · 1 comment

Comments

@albop
Copy link
Member

albop commented Jun 14, 2017

With the new smarter functions, it has become harder to inspect the generated code (unless I missed smthg).
Maybe the FunctionFactory object could hold an option to print the code when generated. Or maybe there is a better way ?

@sglyon
Copy link
Member

sglyon commented Jun 15, 2017

Ahh yes this is true.

So none the code that actually evaluates the user's equations will actually be printed anymore, because it isn't even generated until the user asks for it at runtime.

One thing you can do still is println(Dolang.build_function(ff, Der{N})) to see the whole function for derivative order N.

Does that work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants