test: Fix shootout-fasta
This commit is contained in:
parent
57e160b29d
commit
1e8ae18ba1
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user