1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/examples/sub.code
Dennis Kuhnert f31e109413 Add Sub to R1CS; Add Dockerfile
Change CURVE to ALT_BN128
Remove 'Expression::' with import
2017-02-01 17:24:44 +01:00

7 lines
137 B
Text

// only using sub, no need to flatten
def qeval(a):
b = a + 100
c = b + a + b
d = b - a - 3 - a
e = d + 3 - a
return d + c + e