Closed jtiscione closed 5 years ago
Hey there. Thank you for the test case, it was very useful.
This should be fixed shortly. Looks like wide types were not being indexed correctly.
walt-compiler@0.18.0
should have the correct behavior now. Thanks!
Bug Report
Overview
Indices into f64 arrays must be even numbers, twice as large as expected
Example
Expected
Should print
Float64Array [ 10, 42, 20, 42, 30, 42, 40, 42, 50, 42 ]
Actual
Prints
Float64Array [ 10, 20, 30, 40, 50, 42, 42, 42, 42, 42 ]
.If both even AND odd indices are used in the Walt code, the Float64Array contains crazy values or NaN.