AnsweredAssumed Answered

Expressions window does not display correct value

Question asked by ndquangr on Feb 2, 2012
Latest reply on Feb 3, 2012 by CraigG


In my code, I declared two arrays like this:


long likelihood[K_MAX];

short sub_likelihood[K_MAX];


In following code, I set the value to each member of these array to zero to start my calculation.


likelihood[i] = 0;

sub_likelihood[i] = 0;


I put a break point right after above lines of code, and watch in Expression window the values of likelihood[i] and sub_likelihood[i] after the when it runs to that break point, but strangely their values do not equal to 0.


I already set to Debug mode.

What wrong with it?


Thank you!