Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update split.rst #307

Closed
wants to merge 1 commit into from
Closed

Update split.rst #307

wants to merge 1 commit into from

Conversation

miguelraz
Copy link

update eltype(green) and eltype(red) to appropriate types

update eltype(green) and eltype(red) to appropriate types
@coveralls
Copy link

Coverage Status

Coverage remained the same at 84.635% when pulling c7b7a3f on miguelraz:patch-1 into ea83593 on JuliaStats:master.

@@ -119,7 +119,7 @@ The ``findwhen`` method test a condition and returns a vector of ``Date`` or ``D
julia> green = findwhen(ohlc["Close"] .> ohlc["Open"]);

julia> typeof(green)
Array{Date,1}
Vector{Date}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't correct. The type system doesn't know what a Vector is; it's just a type alias. Regular Arrays always print as Array{T,N}.

@miguelraz
Copy link
Author

miguelraz commented Mar 14, 2017 via email

@ararslan
Copy link
Member

No problem. Thanks anyway for the contribution! It's always good to know that people are willing to contribute, regardless of the outcome. 🙂

@ararslan ararslan closed this Mar 14, 2017
@miguelraz
Copy link
Author

Will try to contribute some more as I keep working on this.
Any and all tips/comments/suggestions are more than welcome!
Thanks for the support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants