Skip to content

Commit

Permalink
Merge pull request #78 from wbhart/master
Browse files Browse the repository at this point in the history
Remove duplicate function.
  • Loading branch information
wbhart authored Jul 26, 2016
2 parents 725a64a + 551efb6 commit 4ed2200
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/arb/acb_mat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -649,14 +649,6 @@ call{T <: Union{Int, UInt, Float64, fmpz, fmpq, BigFloat, AbstractString,
arb}}(x::AcbMatSpace, y::Array{Tuple{T, T}, 1}) = x(y'')


function call{T <: Union{Int, UInt, fmpz, fmpq, Float64, BigFloat, arb, acb,
AbstractString}}(x::AcbMatSpace, y::Array{T, 2})
(x.rows, x.cols) != size(y) && error("Dimensions are wrong")
z = acb_mat(x.rows, x.cols, y, prec(x))
z.parent = x
return z
end

call{T <: Union{Int, UInt, fmpz, fmpq, Float64, BigFloat, arb, acb,
AbstractString}}(x::ArbMatSpace, y::Array{T, 1}) = x(y'')

Expand Down

0 comments on commit 4ed2200

Please sign in to comment.