Update example.java (#45)

This commit is contained in:
J. Wang 2025-07-24 14:54:11 +08:00 committed by GitHub
parent 0903a84e90
commit eb9e61023b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ public class example {
int N = 1000000;
long a = (long) (Math.random() * N);
long b = (long) (Math.random() * N);
long c = (long) (Math.random() * N) > 50 ? 1 : 0;
int c = (int) (Math.random() * N) > 50 ? 1 : 0;
// set inputs
adder.a.Set(a);
adder.b.Set(b);