Correct typo in function raw_sample_array.