Mercurial > hg > Game > Cerium
changeset 1545:d9eb89610733 draft
fix many task
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 05 Feb 2013 11:02:46 +0900 |
parents | 5c4e3f0d372a |
children | 61164c687b29 |
files | example/many_task/sort.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/example/many_task/sort.cc Thu Jan 31 18:47:13 2013 +0900 +++ b/example/many_task/sort.cc Tue Feb 05 11:02:46 2013 +0900 @@ -58,7 +58,7 @@ return 0; } - HTask **task_array_f = (HTask**)manager->allocate(sizeof(HTask*)*ta); + HTask **task_array_f = (HTask**)manager->allocate(sizeof(HTask*)*s->split_num); HTask **task_array_b = (HTask**)manager->allocate(sizeof(HTask*)*half_num); for (int i = 0; i < s->split_num;i++) {