Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Feb 4, 2017
1 parent 34a82e1 commit 5c46b0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ function _one{T}(unit::T, x::AbstractMatrix)
eye(T, m)
end

one{T}(x::AbstractMatrix{T}) = _one(one(T))
oneunit{T}(x::AbstractMatrix{T}) = _one(oneunit(T))
one{T}(x::AbstractMatrix{T}) = _one(one(T), x)
oneunit{T}(x::AbstractMatrix{T}) = _one(oneunit(T), x)

## Conversions ##

Expand Down

0 comments on commit 5c46b0d

Please sign in to comment.