|
-
April 28th, 2011, 10:10 AM
#9
Re: Boolean expression evaluating to false, should be true.
I've actually simplified it further:
Code:
for( int i = 0; mStageInstrCounter[WB_STAGE] < mCodeSize; i++ )
It is ok for i to become larger than the code size (this is a Mips simulator). And, the <= was correct at one point, but after changes my vectors to be consistent, the < is correct now.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|