Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
ef3378c1
Commit
ef3378c1
authored
Mar 04, 2019
by
Adam Procter
Committed by
Scott Cyphers
Mar 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename CHECK macro to NGRAPH_CHECK, so it's less likely to collide with other libraries (#2554)
parent
a8bc57cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
check.hpp
src/ngraph/check.hpp
+1
-1
node.hpp
src/ngraph/node.hpp
+1
-1
No files found.
src/ngraph/check.hpp
View file @
ef3378c1
...
...
@@ -66,7 +66,7 @@ namespace ngraph
// TODO(amprocte): refactor so we don't have to introduce a locally-scoped variable and risk
// shadowing here.
#define
CHECK(exc_class, ctx, check, ...)
\
#define
NGRAPH_CHECK(exc_class, ctx, check, ...)
\
do \
{ \
if (!(check)) \
...
...
src/ngraph/node.hpp
View file @
ef3378c1
...
...
@@ -329,4 +329,4 @@ namespace ngraph
::ngraph::node_validation_assertion_string(node))
#define NODE_VALIDATION_CHECK(node, cond, ...) \
CHECK(::NodeValidationFailure, (node), (cond), __VA_ARGS__)
NGRAPH_
CHECK(::NodeValidationFailure, (node), (cond), __VA_ARGS__)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment