Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Fix warning when setting boundary ID #3

Open
agzimmerman opened this issue Nov 5, 2016 · 0 comments
Open

Fix warning when setting boundary ID #3

agzimmerman opened this issue Nov 5, 2016 · 0 comments

Comments

@agzimmerman
Copy link
Member

I'll need help from the deal.II mailing list on this one. There seems to be an issue with the data type used for boundary_id. It doesn't play nicely with ParameterHandler.

/peclet/source/pde_model.h:531:72: warning: narrowing conversion of ‘boundary’ from ‘unsigned int’ to ‘unsigned char’ inside { } [-Wnarrowing]
std::settypes::boundary_id dealii_boundary_id = {boundary};

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant