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

Issue #27957: diff(ones(6),dims=1) gives error #28896

Closed

Conversation

deepaknalore
Copy link

AbstractVector is the supertype for 1-D arrays, while AbstractMatrix is the subtype for 2-D arrays. So, for diff function instead of having exclusive parameters as AbstractVector or AbstractMatrix, changing the parameter to AbstarctArray will solve the bug number: #27957

@fredrikekre fredrikekre requested a review from mbauman August 26, 2018 10:25
@fredrikekre fredrikekre added the arrays [a, r, r, a, y, s] label Aug 26, 2018
@laborg
Copy link
Contributor

laborg commented Feb 3, 2022

Has been fixed as part of #29827

@laborg laborg closed this Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrays [a, r, r, a, y, s]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants