You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was playing around with concatenation and reshape of Array variables, and I found behaviors that seem to me to be either a bug that should be corrected or a feature design that should be changed. Consider the following code snippet:
I would have expected var2 to have a similar effect to doing @variables var2[1:2,1:3] and var1 to create a new vector array that references the original variable x.
What is not clear to me is whether these are design choices or a bug. I say a bug because it often happens that one needs the reshape the variable or concatenate them.
If it is a bug, could you let me know? I will try to look into fixing it. These issues seem to be somehow similar to #850 and #855 .
The text was updated successfully, but these errors were encountered:
I was playing around with concatenation and reshape of Array variables, and I found behaviors that seem to me to be either a bug that should be corrected or a feature design that should be changed. Consider the following code snippet:
if we look at the resulting variables, we get:
and
I would have expected
var2
to have a similar effect to doing@variables var2[1:2,1:3]
andvar1
to create a new vector array that references the original variablex
.What is not clear to me is whether these are design choices or a bug. I say a bug because it often happens that one needs the reshape the variable or concatenate them.
If it is a bug, could you let me know? I will try to look into fixing it. These issues seem to be somehow similar to #850 and #855 .
The text was updated successfully, but these errors were encountered: