[Dune] [#587] GenericReferenceElements should use unsigned for indices, sizes etc.

Dune flyspray at dune-project.org
Thu Apr 12 20:50:33 CEST 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#587 - GenericReferenceElements should use unsigned for indices, sizes etc.
User who did this - Matthias Wohlmuth (matthias)

----------
May I ask about the situation in dune/common/geometrytype.hh: 
It is stated that both constructors with types unsigned int and int for the dimension are needed to distinguish between topologyId and dim. I'm not sure if I like that, but at least it seems to be intended. 
However, is there a reason that the member _dim is stored as unsigned char. This results in -Wtype-limits warnings when _dim is set in the int/unsigned int constructors... 

Probably, that's not a big deal, but I'm just curious.... 
----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=587#comment3353

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list