Reply to Random Generator in kernel @heltena solution works well in init_by_array a /* is missing in the line with i; / non linear */ I know I am writing this after 5 years. But I found this useful now and it took me sometime to debug it. Graphics & Games General Nov ’20