Skip to content

Commit

Permalink
chores: auto fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhinavcode13 authored Aug 28, 2024
1 parent 0b31c39 commit 3114f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/clad/Differentiator/DynamicGraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ template <typename T> class DynamicGraph {
std::unordered_set<size_t> visited;

// Recursive function to print nodes with indentation based on depth.
auto printNode = [&](size_t nodeId, int depth) {
std::function<void(size_t, int)> printNode = [&](size_t nodeId, int depth) {
// Check if the node has been visited already to avoid cycles.
if (visited.find(nodeId) != visited.end())
return;
Expand Down

0 comments on commit 3114f8c

Please sign in to comment.