You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was poking around the ApproximatePermutationTest function and this is the current signature:
functionApproximatePermutationTest(rng::AbstractRNG, x::AbstractVector{R}, y::AbstractVector{S},
f::Function, n::Int) where {R<:Real,S<:Real}
I'm curious about the decision to restrict the input types for x and y to AbstractVector{<:Real}. It seems to me that the function might be more flexible if it accepts a broader range of input types, provided that the function f returns a subtype of Real.
Would expanding the accepted input types for x and y introduce any significant issues?
The text was updated successfully, but these errors were encountered:
I was poking around the ApproximatePermutationTest function and this is the current signature:
I'm curious about the decision to restrict the input types for
x
andy
toAbstractVector{<:Real}
. It seems to me that the function might be more flexible if it accepts a broader range of input types, provided that the function f returns a subtype ofReal
.Would expanding the accepted input types for x and y introduce any significant issues?
The text was updated successfully, but these errors were encountered: