aboutsummaryrefslogtreecommitdiff
path: root/src/numerics.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/numerics.hpp')
-rw-r--r--src/numerics.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/numerics.hpp b/src/numerics.hpp
index 3d74202..ac22ff4 100644
--- a/src/numerics.hpp
+++ b/src/numerics.hpp
@@ -53,7 +53,9 @@ struct NodeAllocator
std::vector<Node> vec;
NodeAllocator(word_t capacity);
- word_t alloc_node(Node n);
+ word_t alloc(Node n);
+ Node getVal(word_t n) const;
+ Node &getRef(word_t n);
};
word_t gcd(word_t a, word_t b);