Skip to content
Snippets Groups Projects
Commit edccf8da authored by Wissam Boussella's avatar Wissam Boussella Committed by Olivier BICHLER
Browse files

Fix node_export.py

parent f7cea506
No related branches found
No related tags found
1 merge request!288Add pybind recipes for constant_folding and debug log for node_export.py
Pipeline #64325 canceled
...@@ -427,7 +427,7 @@ class ExportNodeCpp(ExportNode): ...@@ -427,7 +427,7 @@ class ExportNodeCpp(ExportNode):
kernel_include_list.append( kernel_include_list.append(
self.kernels_path + "/" + kernel_path.stem + kernel_path.suffix) self.kernels_path + "/" + kernel_path.stem + kernel_path.suffix)
if kernel_path.suffix is ["h", "hpp"]: if kernel_path.suffix in ["h", "hpp"]:
kernel_include_list.append( kernel_include_list.append(
self.kernels_path + "/" + kernel_path.stem + kernel_path.suffix) self.kernels_path + "/" + kernel_path.stem + kernel_path.suffix)
else : aidge_core.Log.debug(f"Did not copy {kernel_path.stem} because suffix is {kernel_path.suffix}, which is not 'h' or 'hpp'.") else : aidge_core.Log.debug(f"Did not copy {kernel_path.stem} because suffix is {kernel_path.suffix}, which is not 'h' or 'hpp'.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment