1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/examples/flatten.code
Jacob Eberhardt f7b197791f Code samples adapted so they have a main function
Code samples now reflect the changes made to the absy by adding functions.
2017-06-13 17:39:20 +02:00

6 lines
126 B
Text

// this code needs flattening
def main(a):
b = a + 5 + a * a
c = b + a + a * b * b
d = a * b + c * c
return b + c + d