summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/include/network.hpp2
-rw-r--r--lib/src/network.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/include/network.hpp b/lib/include/network.hpp
index 1ffe742..62e27d6 100644
--- a/lib/include/network.hpp
+++ b/lib/include/network.hpp
@@ -14,6 +14,8 @@
#include "current_info.hpp"
#include "array_hash.hpp"
+#define CURRENT_CUTOFF 1e-11
+
class network {
public:
const graph& G;
diff --git a/lib/src/network.cpp b/lib/src/network.cpp
index 05a208f..3424b94 100644
--- a/lib/src/network.cpp
+++ b/lib/src/network.cpp
@@ -1,8 +1,6 @@
#include "network.hpp"
-#define CURRENT_CUTOFF 1e-11
-
class nofuseException: public std::exception
{
virtual const char* what() const throw()