Skip to content
Snippets Groups Projects
Commit a61b2952 authored by dawehr's avatar dawehr
Browse files

Clarified comment

parent f3d7579e
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,8 @@ double graph_get_output(const struct computation_graph *graph, int node_id, int
/*
* Assumptions: The node passed in is a valid ID (should be checked before passing)
* and all node sources are either valid node-output pairs, or the source node ID == -1
* This function does not check those assumptions for speed
* These constraints should be satisfied by using the graph_set_source function, so long as
* 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) {
......
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