Hello I’m quite new to Julia and coming from MATLAB and Python and I have some trouble with operations that *should* be quite common but I haven’t found any workaround/solution in the usual places (Manual, Github and here).

The problem is:

I cannot assign the result of a calculation to array at a specific index. The issue is that the type of the result is a Matrix with dimensions (1,1) which is cannot automatically converted to a scalar (why not?)

Example to reproduce:

```
A = rand(2,2)
B = rand(2,1)
C = rand(1,2)
r = C * A * B
y_ = zeros(10,1)
y_[1] = r
```

this results in:

```
MethodError: Cannot `convert` an object of type Array{Float64,2} to an object of type Float64
```

I know that I could just index `r[1]`

but this also seems overly complicated.

Are there any better solutions to this?

Is it possible to overwrite e.g. `convert()`

?