Leonard Schellenberg (3) [Avatar] Offline
#1
Great book so far.

I found some typos in Listing 2.32 and 2.33.

It implements a dot product in a for loop, but it says

z += x[i] + y[i]

it should be rather

z += x[i] * y[i]