Seems there is something wrong with ternary operator and type deduction. Copying matrix to a variable with cleaner name seems to be better solution than to force cast to an array.
Seems there is something wrong with ternary operator and type deduction. Copying matrix to a variable with cleaner name seems to be better solution than to force cast to an array.