Skip to content
Snippets Groups Projects
Commit 106a96f2 authored by Peter Thedens's avatar Peter Thedens
Browse files

remove depth check

parent 42779c5b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
// }
......
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