Commit ef3378c1 authored by Adam Procter's avatar Adam Procter Committed by Scott Cyphers

Rename CHECK macro to NGRAPH_CHECK, so it's less likely to collide with other libraries (#2554)

parent a8bc57cb
......@@ -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)) \
......
......@@ -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__)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment