Commit 60fd7a95 authored by Leo Gordon's avatar Leo Gordon
Browse files

Ensuring deterministig order of jobs generated

parent 4355f13c
......@@ -85,7 +85,7 @@ sub fetch_input {
}
# parameter hashes of partial multiplications to be computed:
my @sub_tasks = map { { 'digit' => $_ } } keys %digit_hash;
my @sub_tasks = map { { 'digit' => $_ } } sort { $a <=> $b } keys %digit_hash;
# store them for future use:
$self->param('sub_tasks', \@sub_tasks);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment