Skip to content

Commit

Permalink
Loosen Vector to AbstractVector in check_same_length (#66)
Browse files Browse the repository at this point in the history
Fixes #61
  • Loading branch information
ararslan committed Jul 24, 2016
1 parent 351b8d0 commit 7d1fcfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HypothesisTests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import CurveFit
export testname, pvalue, ci
abstract HypothesisTest

check_same_length(x::Vector, y::Vector) = if length(x) != length(y)
check_same_length(x::AbstractVector, y::AbstractVector) = if length(x) != length(y)
throw(DimensionMismatch("Vectors must be the same length"))
end

Expand Down

0 comments on commit 7d1fcfc

Please sign in to comment.