From 1302edecfdf878465743d11c25987b6e4122d033 Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Fri, 13 Nov 2020 14:27:03 +0100
Subject: [PATCH] Add get_code_str

---
 src/pystencils_autodiff/framework_integration/printer.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/pystencils_autodiff/framework_integration/printer.py b/src/pystencils_autodiff/framework_integration/printer.py
index 9225352..40e8e0b 100644
--- a/src/pystencils_autodiff/framework_integration/printer.py
+++ b/src/pystencils_autodiff/framework_integration/printer.py
@@ -195,3 +195,4 @@ class DebugFrameworkPrinter(FrameworkIntegrationPrinter):
 
 
 show_code = functools.partial(pystencils.show_code, custom_backend=FrameworkIntegrationPrinter())
+get_code_str = functools.partial(pystencils.get_code_str, custom_backend=FrameworkIntegrationPrinter())
-- 
GitLab