Skip to content
Commit 06f2bcc9 authored by Jakob Stierhof's avatar Jakob Stierhof
Browse files

Fix wrong use of array copy

Slang has a natural copy mechanism of the form array_a[[0:n]] = array_b[[m:m+n]]
and copies the entries for natrual types accordingly. However if array_a
is of type Array_Type it sets *all* indices to array_b[[m:m+n]].

We have to copy each element individualy to do it correctly.

Also removed a print statement used for debugging.
parent 7875f77f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment