Question for assignment2

Question for assignment2

by Florian Kloeppner -
Number of replies: 1

Hi, 

I have a question about question 3 of assignment2:

"Choose strides as M=8*1.2n"  

M is used to increment an integer in the loop but is not an integer by itself. Is this intended and simply an integer conversion is applied or is something wrong?

In reply to Florian Kloeppner

Re: Question for assignment2

by Georg Hager -

You are right of course, M is an integer so we technically forgot to do the conversion. But if you declare M as int, it will be automatic.