Skip to content

Commit

Permalink
remove obsolete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
IR0NSIGHT committed Mar 12, 2024
1 parent 04693ff commit 701d0f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/effekt/benchmark/bounce.effekt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def bounce(ball: Ball): Tuple2[Ball, Boolean] = {
def bitAnd(x: Int, y: Int) = mod(x,(y+1))

def withRandom[R]{ program: { Random } => R}: R = {
var seed = 74755; //FIXME is mutable from everywhere, use "withRandom" with block
var seed = 74755;
def rand = new Random {
def next() = {
seed = bitAnd((seed * 1309) + 13849, 65535);
Expand Down

0 comments on commit 701d0f6

Please sign in to comment.