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

Keep the 'dealii::' in 'using namespace dealii::'. #9209

Merged
merged 1 commit into from Jan 2, 2020

Conversation

drwells
Copy link
Member

@drwells drwells commented Dec 31, 2019

Some of our example code on the website (e.g., step-40) doesn't work since we get rid of the preceding dealii and print

using namespace ::LinearAlgebraPETSc;

when it should be

using namespace dealii::LinearAlgebraPETSc;

instead. This change keeps the dealii:: only in this case, which currently only occurs in step-40.cc, step-50.cc, step-55.cc, and local_integrators.h.

Fixes #9163.

Some of our example code on the website (e.g., step-40) doesn't work since we
get rid of the preceding dealii and print

    using namespace ::LinearAlgebraPETSc;

when it should be

    using namespace dealii::LinearAlgebraPETSc;

instead. This change keeps the 'dealii::' only in this case, which currently
only occurs in step-40.cc, step-50.cc, step-55.cc, and local_integrators.h.
@drwells
Copy link
Member Author

drwells commented Dec 31, 2019

This does prevent doxygen from correctly forming a link but I think its better to show the right code than to have the right link.

@bangerth bangerth merged commit e42c2e1 into dealii:master Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typo on Step-40's webpage
2 participants