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
c79349bb
Commit
c79349bb
authored
7 years ago
by
dawehr
Browse files
Options
Downloads
Patches
Plain Diff
Updated gen_diagram Makefile properly.
parent
6598f201
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
quad/src/computation_graph/computation_graph.c
+3
-3
3 additions, 3 deletions
quad/src/computation_graph/computation_graph.c
quad/src/gen_diagram/Makefile
+3
-2
3 additions, 2 deletions
quad/src/gen_diagram/Makefile
quad/src/gen_diagram/generate.c
+1
-0
1 addition, 0 deletions
quad/src/gen_diagram/generate.c
with
7 additions
and
5 deletions
quad/src/computation_graph/computation_graph.c
+
3
−
3
View file @
c79349bb
...
...
@@ -11,9 +11,9 @@ static double exec_input_vals[GRAPH_MAX_INPUTS];
// Macro functions for setting and clearing single bits in int array
// From http://www.mathcs.emory.edu/~cheung/Courses/255/Syllabus/1-C-intro/bit-array.html
#define setBit(A,k) ( A[(k / (8*sizeof(
&
A)))] |= (1 << (k % (8*sizeof(
&
A)))) )
#define clearBit(A,k) ( A[(k / (8*sizeof(
&
A)))] &= ~(1 << (k % (8*sizeof(
&
A)))) )
#define testBit(A,k) ( A[(k / (8*sizeof(
&
A)))] & (1 << (k % (8*sizeof(
&
A)))) )
#define setBit(A,k) ( A[(k / (8*sizeof(
*
A)))] |= (1 << (k % (8*sizeof(
*
A)))) )
#define clearBit(A,k) ( A[(k / (8*sizeof(
*
A)))] &= ~(1 << (k % (8*sizeof(
*
A)))) )
#define testBit(A,k) ( A[(k / (8*sizeof(
*
A)))] & (1 << (k % (8*sizeof(
*
A)))) )
struct
computation_graph
*
create_graph
()
{
struct
computation_graph
*
the_graph
=
malloc
(
sizeof
(
struct
computation_graph
));
...
...
This diff is collapsed.
Click to expand it.
quad/src/gen_diagram/Makefile
+
3
−
2
View file @
c79349bb
TOP
=
../..
NAME
=
gen_diagram
REQLIBS
=
-lquad_app
,
-lgraph_blocks
,
-lcomputation_graph
REQLIBS
=
-lquad_app
-lgraph_blocks
-lcomputation_graph
-lm
include
$(TOP)/library.mk
\ No newline at end of file
include
$(TOP)/executable.mk
\ No newline at end of file
This diff is collapsed.
Click to expand it.
quad/src/gen_diagram/generate.c
+
1
−
0
View file @
c79349bb
#include
<stdio.h>
#include
"computation_graph.h"
#include
"control_algorithm.h"
int
main
()
{
...
...
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