From 3114f8caaea15d3eaaffa3fdc4bef4158b4cfcd3 Mon Sep 17 00:00:00 2001 From: Abhinav kumar <126642111+Abhinavcode13@users.noreply.github.com> Date: Wed, 28 Aug 2024 10:06:29 +0530 Subject: [PATCH] chores: auto fix --- include/clad/Differentiator/DynamicGraph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clad/Differentiator/DynamicGraph.h b/include/clad/Differentiator/DynamicGraph.h index fc7c1ac83..e58a249d9 100644 --- a/include/clad/Differentiator/DynamicGraph.h +++ b/include/clad/Differentiator/DynamicGraph.h @@ -113,7 +113,7 @@ template class DynamicGraph { std::unordered_set visited; // Recursive function to print nodes with indentation based on depth. - auto printNode = [&](size_t nodeId, int depth) { + std::function printNode = [&](size_t nodeId, int depth) { // Check if the node has been visited already to avoid cycles. if (visited.find(nodeId) != visited.end()) return;