From 0820a8129a0ce1134b5951dfa8098c17819d9f1a Mon Sep 17 00:00:00 2001 From: mottla Date: Sat, 25 May 2019 16:50:39 +0200 Subject: [PATCH] changing gate structure from entirely --- circuitcompiler/circuit.go | 1 + 1 file changed, 1 insertion(+) diff --git a/circuitcompiler/circuit.go b/circuitcompiler/circuit.go index 56d9555..93ef717 100644 --- a/circuitcompiler/circuit.go +++ b/circuitcompiler/circuit.go @@ -26,6 +26,7 @@ type gate struct { left *gate right *gate funcInputs []*gate + Op Token value *Constraint //is a pointer a good thing here?? leftIns []factor //leftIns and RightIns after addition gates have been reduced. only multiplication gates remain rightIns []factor