Skip to content

Commit

Permalink
Fix typo in test/bench/noise.rs. Closes #8574.
Browse files Browse the repository at this point in the history
  • Loading branch information
nsf authored and thestinger committed Aug 21, 2013
1 parent 934a5eb commit 0f6e90a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/bench/noise.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn random_gradient<R:Rng>(r: &mut R) -> Vec2 {

fn gradient(orig: Vec2, grad: Vec2, p: Vec2) -> f32 {
let sp = Vec2 {x: p.x - orig.x, y: p.y - orig.y};
grad.x * sp.x + grad.y + sp.y
grad.x * sp.x + grad.y * sp.y
}

struct Noise2DContext {
Expand Down

5 comments on commit 0f6e90a

@bors
Copy link
Contributor

@bors bors commented on 0f6e90a Aug 21, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 0f6e90a Aug 21, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging thestinger/rust/container = 0f6e90a into auto

@bors
Copy link
Contributor

@bors bors commented on 0f6e90a Aug 21, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thestinger/rust/container = 0f6e90a merged ok, testing candidate = d4d856b

@bors
Copy link
Contributor

@bors bors commented on 0f6e90a Aug 21, 2013

@bors
Copy link
Contributor

@bors bors commented on 0f6e90a Aug 21, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = d4d856b

Please sign in to comment.