OmpCommonCore icon indicating copy to clipboard operation
OmpCommonCore copied to clipboard

Blocked distribution off by one

Open paulcaprioli opened this issue 2 years ago • 0 comments

Hi Tim,

On slide 35, I believe the -1 should be eliminated in the calculation of iend because the for loop terminates using a strictly less than comparison.

If you don't mind my mentioning a very minor nit, I would suggest a space after the closing paren (and before the pi) in the final summation on the last line of code. [Also on the previous slide and the next one.]

Slide 37's title has a typo: "Mulitple"

Slide 55, I believe the -1 should be eliminated in the calculation of iend. And, on the same slide, I cannot resist suggesting a space after the closing paren (and before 'iend') on the very next line.

Thanks for making these slides available. I have found them quite valuable.

Regards, Paul

paulcaprioli avatar Apr 28 '23 20:04 paulcaprioli