[Cs5500] Issues found csp.avatar_cspAvatar.beh_important

Liang Yu yu.lia at husky.neu.edu
Sun Mar 20 20:29:57 EDT 2011


plus, also one more stuff in the same for loop.

the begin value should be i =1 not the i =0.

On Sun, Mar 20, 2011 at 8:08 PM, Liang Yu <yu.lia at husky.neu.edu> wrote:

> hi, everybody,
>
> we found a bug there.
>
> In csp.avatar package. the cspAvatar.beh file
>
> at line 59, the for loop
>
> please change the original for loop to the following one:
>
>
> for(int i =0; i< numVars;i++){ vars = vars.append(new Var(new ident("v" +
> i)));}
>
>
> that means assigning the result of appends function to the "vars" variable.
>
> and in the new ident, and "v" in the empty quote.
>
> --
> --
> Regards,
> *Liang*
> College of Computer and Information Science,
> Northeastern University
> Tel: 718-501-0145
> MSN: yuliang.name at gmail.com (this is my primary email)
>
>
>


-- 
--
Regards,
*Liang*
College of Computer and Information Science,
Northeastern University
Tel: 718-501-0145
MSN: yuliang.name at gmail.com (this is my primary email)
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the Cs5500 mailing list