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

Turn on precompilation, error testing in constructor, and a reshape fix #8

Merged
merged 3 commits into from
Aug 20, 2016

Conversation

timholy
Copy link
Member

@timholy timholy commented Aug 20, 2016

This is a bit of a grab bag of things I've noticed in recent usage. Besides turning on precompilation, all the changes result in the throwing of errors when the inputs don't make sense.

Ref JuliaLang/julia#18160, which may or may not need to be merged before this passes tests (I don't think it will, but we'll find out soon enough).

reshape(A, Val{N}) is sometimes convenient, but the resulting indices are ambiguous when indices require 2 numbers to be specified. It seems better to throw an error in such cases.
@alsam alsam merged commit 0d8906c into master Aug 20, 2016
@timholy timholy deleted the reshape branch August 20, 2016 18:45
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.

2 participants