-
Notifications
You must be signed in to change notification settings - Fork 20
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
Bug in wrappers.py #30
Comments
Great observation and bug catch! Since I was only testing with square systems I never checked the case when dimensions were different. I will post an announcement on how to update your code. It should work like this:
|
Thank you to @tgilbrough for pointing this out. See Issue uwhpsc-2016/syllabus#30
@tgilbrough Actually, would you mind testing this for me before I email the entire class? |
When I try and do the pull upstream, I am getting the following error:
|
You misspelled "
to fix it. See |
git upstream works for me |
@shinwookang Awesome. Can you push the changes to your private remote so I can see? |
Spelling things right makes quite the difference, thanks! |
@tgilbrough Excellent. Could you do the same as @shinwookang ? |
@cswiercz it's pushed. seems like it works. |
👍 I see the change reflected in your remote. Also, you didn't need to add a commit of your own. You could've just pushed the commit that I created to fix the issue. |
@tgilbrough I don't see my commit in your remote. Did you correctly pull the changes and apply them to your master branch before pushing? |
I see the change too in my |
I just pushed the commits, do you see them now? |
Yep! I do now. I see the change in your commit list. Thanks to both of you for being the guinea pigs. I'll alert the class of the fix. |
No problem! Thanks for applying the fix so quick! |
A link to the course announcement: https://canvas.uw.edu/courses/1038251/discussion_topics/3319238 |
@tgilbrough I think I'll find a way to give you some extra credit points for pointing out this bug... |
Oh wow, thank you! One other small question, when writing tests using the |
Is there supposed to be a merge conflict that we have to fix before pulling? (That's what I'm getting.) |
OK, I think I figured it out; I was in the wrong directory. I now believe I've successfully pulled--and pushed. |
@tgilbrough A standard 1d Numpy array, just like the input and what you would send to |
When I am testing a 3x2 matrix times a 2x1 matrix, |
Within the
mat_vec
function in thewrappers.py
file, the out array is initialize to be the same size of input vector. Isn't this incorrect since the if we are multiplying a 3x2 matrix with a 2x1 vector, the output will be a 3x1 vector, not a 2x1 vector? Thanks!The text was updated successfully, but these errors were encountered: