JuliaLang/julia — Issue #502: Missing matrix division dispatches
Author: pao
Created: 2012-03-02 05:11:59+00:00
State: open

There's no dispatch for matrix division between Int32 and Float64, and probably others.

```
julia> [1 0 0; 0 1 0; 0 0 1]\[1.;2;4]
no method /(Array{Float64,1},Array{Int32,2})
in method_missing at /home/patrick/julia/j/base.j:58
in \ at /home/patrick/julia/j/operators.j:59

julia> [1. 0 0; 0 1 0; 0 0 1]\[1;2;4]
no method /(Array{Int32,1},Array{Float64,2})
in method_missing at /home/patrick/julia/j/base.j:58
in \ at /home/patrick/julia/j/operators.j:59
```

After watching Jeff's presentation, I was feeling confident I could figure out how to fix it. Unfortunately my grep-fu is failing me and I can't track down where AbstractMatrix/AbstractMatrix is defined. Any pointers?