summaryrefslogtreecommitdiff
path: root/lib/src
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-12-25 18:07:35 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-12-25 18:07:35 -0500
commit380e16a94dbdc7c8f4ba6e389395296cf8be66c1 (patch)
treefb66c6cfed3cb3fc310441044fe6e2e5468aacaa /lib/src
parent210e1a271e3a61f31ce14ef8d9211277c55608de (diff)
downloadfuse_networks-380e16a94dbdc7c8f4ba6e389395296cf8be66c1.tar.gz
fuse_networks-380e16a94dbdc7c8f4ba6e389395296cf8be66c1.tar.bz2
fuse_networks-380e16a94dbdc7c8f4ba6e389395296cf8be66c1.zip
removed assert business and just disabled it
Diffstat (limited to 'lib/src')
-rw-r--r--lib/src/graph.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/src/graph.cpp b/lib/src/graph.cpp
index 58c97ae..2fee5fd 100644
--- a/lib/src/graph.cpp
+++ b/lib/src/graph.cpp
@@ -6,10 +6,7 @@
#define JCV_REAL_TYPE double
#define JCV_ATAN2 atan2
#define JCV_FLT_MAX 1.7976931348623157E+308
-#include <assert.h>
-#undef assert
-#define assert_error_report_helper(cond) "assertion failed: "
-#define assert(cond) {if(!(cond)) { std::cerr << assert_error_report_helper(cond) "\n"; throw assert_error_report_helper(cond); } }
+#define NDEBUG
#include <jc_voronoi.h>
// actual mod for floats