I had it that way first, but then I thought that examples should be concise so that readers don't get side-tracked by questions like "why is he making this a float array?".  Either way, I'm fine with this being changed as suggested.