Skip to content
Snippets Groups Projects
Commit 5bb54590 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Fix template for Pybind11 python_bindings

parent 803bbff8
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ from pystencils_autodiff.framework_integration.astnodes import JinjaCppFile
class PybindPythonBindings(JinjaCppFile):
TEMPLATE = jinja2.Template("""PYBIND11_MODULE("{{ module_name }}", m)
TEMPLATE = jinja2.Template("""PYBIND11_MODULE({{ module_name }}, m)
{
{% for ast_node in module_contents -%}
{{ ast_node | indent(3,true) }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment