Skip to content

Commit

Permalink
readme order
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-aws committed Jan 19, 2024
1 parent 84a5ca5 commit de3e881
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@ class Test {
public static void main(String[] args) {
DafnyVMC.Random r = new DafnyVMC.Random();

char[] arr = {'a', 'b', 'c'};
Rationals.Rational gamma = new Rationals.Rational(BigInteger.valueOf(3), BigInteger.valueOf(5));

System.out.println("Example of Fisher-Yates: char");
char[] arr = {'a', 'b', 'c'};
r.Shuffle(arr);
System.out.println(Arrays.toString(arr));

System.out.println("Example of Bernoulli sampling");
Rationals.Rational gamma = new Rationals.Rational(BigInteger.valueOf(3), BigInteger.valueOf(5));
System.out.println(r.BernoulliSample(gamma));
}
}
Expand Down

0 comments on commit de3e881

Please sign in to comment.