ソースを参照

added operations on scalars outside of the constrains system

ada 5 年 前
コミット
958f85d06a
1 ファイル変更2 行追加2 行削除
  1. 2 2
      lisp/jubjub.lisp

+ 2 - 2
lisp/jubjub.lisp

@@ -12,8 +12,8 @@
                     (add lc0 y1)
                     (add lc0 y1)
                     (add lc1 x2)
                     (add lc1 x2)
                     (add lc1 y2)
                     (add lc1 y2)
-                    (add lc2 (U x1 y1 x2 y2))))
+                    (add lc2 (U x1 y1 x2 y2))
                     enforce
                     enforce
-                    ))
+                    ))))
 (println (jubjub-add a_u a_v b_u b_v))
 (println (jubjub-add a_u a_v b_u b_v))
 (println circuit)
 (println circuit)