-
Notifications
You must be signed in to change notification settings - Fork 23
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
use of inprod
with 1-length vectors fails
#1337
Comments
Use of The problem is in model code where |
More specifically this happens because of the I guess we would have to set some flag in Or (this feels hacky), modify And of course one could have |
Ok, I'm inclined to do the following to handle this as a special case when we are in
That said, this would still leave other similar cases unhandled such as Would like some feedback from @danielturek @perrydv |
@paciorek I wish I had more useful feedback for you. The proposed solution would handle common cases of the I'm not thinking of an (easy) solution that's much more general. One could (perhaps) be to introduce a |
We probably want this to work when
n=1
so that a user's code could be agnostic to the value ofn
.The text was updated successfully, but these errors were encountered: