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

Avoid using operator[] in dof_info.h for accessing the end iterator #5917

Merged
merged 1 commit into from
Feb 17, 2018

Conversation

masterleinad
Copy link
Member

In Debug mode, MSVC checks the accessed not only for std::vector::at() but also for std::vector::operator[]. Therefore, this PR works around its usage when we need to return end iterators.

With these changes periodicity_06 runs correctly if we specify the Mapping for VectorTools::project explicitly (see #5907).

@masterleinad
Copy link
Member Author

/run-tests

@drwells drwells merged commit bed93fe into dealii:master Feb 17, 2018
@masterleinad masterleinad deleted the more_msvc branch August 23, 2019 15:32
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.

None yet

4 participants