On Sunday, 18 October 2015 14:33:30 UTC+1, Kristoffer Carlsson wrote:
>
> The reason for dispatching is to make the chol function type stable.
>
> https://github.com/JuliaLang/julia/pull/10862
>

That was clear from the usage of Val, but I am still not really getting it. 
>From the discussions in these issues, I can see there is some relation to 
returning an abstract Inverse object, why I don't really care much about 
because there should not be an `inv` function to begin with (just my 
opinion).  For every-day use, I'd much rather call 
    chol(A, :U)
instead of 
   chol(A, Val{:U})

Can anybody explain to my why it is a bad idea to have both ways to call 
`chol`?

Thanks,
  Christoph

Reply via email to