-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Can add vector to 1xn matrix #141
Comments
Is this a bug or what? |
Just a difference from matlab to consider. |
This whole equating of vectors to a 1xn or nx1 matrix is going to create more such issues. Do we have a view on this? I am inclined to keep it simple (which may make matlab users unhappy) for the first release. |
We can fix this and #152 in one pass by adding size checks. |
We still need a policy that will be a) not annoying Between these two, I'm starting to reconsider the option of filling in an arbitrary number of trailing dimensions of size 1. That would automatically make vectors and column matrices the same thing, and 1x1 matrices the same thing as scalars. It really, really messes with the type system though. Maybe less drastic than that, we can just automatically fill in trailing ones for parallel ops like I also think that it makes sense to allow |
For now, commit 7a8960f fixes this bug. |
Update stuff for SHA moving to stdlib
JuliaLang#141) * replaced grains tests with canonical-data tests and fixed example script * split grains testsets and added comment about cononical data
Update to changes in Base's cov and cor
A common idiom used throughout the codebase is to get a pointer to thread-local-state through `jl_current_task->ptls`. Create a phantom task for GC threads so that we can make use of this idiom when running in the GC threads as well. Idea originally suggested by @vchuravy, bugs are mine.
You can in Julia, can't in MATLAB.
The text was updated successfully, but these errors were encountered: