test: Fix shootout-fasta

This commit is contained in:
Brian Anderson 2012-07-10 12:05:23 -07:00
parent 57e160b29d
commit 1e8ae18ba1

View File

@ -45,7 +45,7 @@ fn bisect(v: ~[aminoacids], lo: uint, hi: uint, target: u32) -> char {
fn make_random_fasta(wr: io::writer, id: str, desc: str, genelist: ~[aminoacids], n: int) {
wr.write_line(">" + id + " " + desc);
let rng = @{mut last: std::rand::rng().next()};
let rng = @{mut last: rand::rng().next()};
let mut op: str = "";
for uint::range(0u, n as uint) |_i| {
str::push_char(op, select_random(myrandom_next(rng, 100u32),