-
Notifications
You must be signed in to change notification settings - Fork 21
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
Wrong Shape after "ufuncReduce add" #21
Comments
Thanks! That's a bug! |
@mlajtos print(Matft.ufuncReduce(mfarray: MfArray([1,2,3,4,5,6,7,8,9,10] as [Double]), ufunc: Matft.add))
//mfarray =
//[ 55.0], type=Double, shape=[1] |
# Please enter the commit message for your changes. Lines starting # with '#' will be kept; you may remove them yourself if you want to. # An empty message aborts the commit. # # Date: Mon Aug 9 22:15:57 2021 +0900 # # interactive rebase in progress; onto 67aa73a # Last command done (1 command done): # edit 01c8fb1 fixed #21 # No commands remaining. # You are currently editing a commit while rebasing branch 'master' on '67aa73a'. # # Changes to be committed: # new file: Matft.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist # modified: Sources/Matft/util/common/order.swift # modified: Sources/Matft/util/library/vDSP.swift # modified: Tests/MatftTests/ConversionTest.swift #
@mlajtos |
@jjjkkkjjj I just tried master and it works as expected. Thank you, that was really fast. :) |
Hello,
I think there is a bug in
ufuncReduce
. This codereturns
I would expect that I would get scalar or array of shape [1]. What am I doing wrong please?
The text was updated successfully, but these errors were encountered: