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

added lastindex for MultiValue and tests #834

Merged
merged 3 commits into from
Sep 26, 2022
Merged

Conversation

kishore-nori
Copy link
Collaborator

Hi @amartinhuertas and @fverdugo, I have added the lastindex method for MultiValue for using [end] and to resolve ambiguity with length upon discussion with @amartinhuertas, as currently lastindex falls back to Number, returning 1, which is not consistent with length for the same argument, the above is a small fix for the same using length under the hood.

@amartinhuertas
Copy link
Member

Hi @kishore-nori! Thanks for the PR. Do not forget to add an entry to the NEWS.md file. You will have to add an unreleased section, as in here https://github.com/gridap/Gridap.jl/blob/f7be57ee6ef4169932b211adc440210bf65864d7/NEWS.md#unreleased

@amartinhuertas
Copy link
Member

May you please add another entry to the NEWS.md file, section "added", that tells that we added BDM RefFEs in PR #823 ? We forgot to do this in a previous PR. Thanks!

@amartinhuertas amartinhuertas merged commit 8f842f8 into master Sep 26, 2022
@kishore-nori kishore-nori deleted the add-lastindex branch September 26, 2022 13:01
Antoinemarteau pushed a commit to Antoinemarteau/Gridap.jl that referenced this pull request Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants