dimitriv / Ziria

A domain-specific-language and compiler for low-level bitstream processing.
92 stars 18 forks source link

Bug when taking large arrays from input #126

Open bradunov opened 8 years ago

bradunov commented 8 years ago

New test case in commit 02ebfe7340, file large_take.wpl in tests/backend illustrates a bug. Currently, it takes using: (x : arr[30720] complex16) <-takes 30720; Alternatively, this should work too (x : arr[30720] complex16) <-take; But in the latter case the corresponding _yv passed to buf_get... is not initialized (is NULL).