Yes, and then you can't set the vec of the dat to be y (because its data array is not the same).