Skip to content
Snippets Groups Projects
Commit c78b65ac authored by Danny Auble's avatar Danny Auble
Browse files

Fix bug in LOTS_OF_AGENTS macro

parent c7b91668
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
* MAX_AGENT_CNT and * MAX_AGENT_CNT and
* (AGENT_THREAD_COUNT + 2) */ * (AGENT_THREAD_COUNT + 2) */
#define LOTS_OF_AGENTS_CNT 50 #define LOTS_OF_AGENTS_CNT 50
#define LOTS_OF_AGENTS (get_agent_count() <= LOTS_OF_AGENTS_CNT) ? 0 : 1 #define LOTS_OF_AGENTS ((get_agent_count() <= LOTS_OF_AGENTS_CNT) ? 0 : 1)
typedef struct agent_arg { typedef struct agent_arg {
uint32_t node_count; /* number of nodes to communicate uint32_t node_count; /* number of nodes to communicate
......
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