From 106a96f241ebd17fc8694a7be9500e420fbd151b Mon Sep 17 00:00:00 2001 From: Peter Thedens <pthedens@iastate.edu> Date: Sun, 28 Jan 2018 16:16:30 -0600 Subject: [PATCH] remove depth check --- quad/src/computation_graph/computation_graph.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/quad/src/computation_graph/computation_graph.c b/quad/src/computation_graph/computation_graph.c index 25f5b15f3..f0b602a61 100644 --- a/quad/src/computation_graph/computation_graph.c +++ b/quad/src/computation_graph/computation_graph.c @@ -188,10 +188,10 @@ double graph_get_output(const struct computation_graph *graph, int node_id, int * a valid node ID is passed in to the first call of this function */ void graph_compute_node_rec(struct computation_graph *graph, int node_id, int depth) { - if (depth >= GRAPH_MAX_DEPTH) { - assert(1 == 0); - return; - } + // if (depth >= GRAPH_MAX_DEPTH) { + // assert(1 == 0); + // return; + // } // if (!graph_node_exists(graph, node_id)) { // return; // } -- GitLab