Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MicroCART
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Distributed Autonomous Networked Control Lab
MicroCART
Commits
8ce07ee3
Commit
8ce07ee3
authored
7 years ago
by
Peter Thedens
Browse files
Options
Downloads
Patches
Plain Diff
testing circular tests
parent
4f7391b5
No related branches found
Branches containing commit
No related tags found
1 merge request
!23
Shift to Unity testing framework
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
quad/src/computation_graph/computation_graph.c
+2
-2
2 additions, 2 deletions
quad/src/computation_graph/computation_graph.c
with
2 additions
and
2 deletions
quad/src/computation_graph/computation_graph.c
+
2
−
2
View file @
8ce07ee3
...
...
@@ -199,7 +199,7 @@ void graph_compute_node_rec(struct computation_graph *graph, int node_id, int de
if
(
node
->
processed_state
!=
UNPROCESSED
)
{
return
;
}
node
->
processed_state
=
DISCOVERED
;
//
node->processed_state = DISCOVERED;
int
input_id
;
for
(
input_id
=
0
;
input_id
<
node
->
type
->
n_inputs
;
input_id
++
)
{
int
src_cntl_id
=
node
->
input_srcs
[
input_id
].
controller_id
;
...
...
@@ -225,7 +225,7 @@ void graph_compute_node_rec(struct computation_graph *graph, int node_id, int de
(
*
node
->
type
->
execute
)(
node
->
state
,
node
->
param_values
,
exec_input_vals
,
node
->
output_values
);
}
}
node
->
processed_state
=
PROCESSED
;
//
node->processed_state = PROCESSED;
}
void
graph_compute_nodes
(
struct
computation_graph
*
graph
,
int
*
node_ids
,
int
n_nodes
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment