JuliaLang/julia — pull request #2246 by GunnarFarneback (2013-02-09 16:42:25+00:00)
Title: Sqrtm improvements.

These patches allows sqrtm to work on StridedMatrix, integer matrices, and correctly compute square roots of certain singular matrices like
```julia
[1 2 0 0
0 1 0 0
0 0 0 0
0 0 0 0]
```
rather than returning a NaN-matrix.