fix warnings

This commit is contained in:
Joachim Schöberl 2017-04-03 16:45:54 +02:00
parent 029de72eb3
commit e1917c8d8a
2 changed files with 5 additions and 5 deletions

View File

@ -259,11 +259,11 @@ namespace netgen
first_id.Set();
if (mesh.GetIdentifications().HasIdentifiedPoints())
{
INDEX_2_HASHTABLE<int> & identpts =
mesh.GetIdentifications().GetIdentifiedPoints ();
if (&identpts)
{
for (i = 1; i <= identpts.GetNBags(); i++)
for (j = 1; j <= identpts.GetBagSize(i); j++)
{

View File

@ -46,7 +46,7 @@ namespace netgen
MarkedTet()
{
for (int i = 0; i < 4; i++) { faceedges[i] = 255; }
for (int i = 0; i < 4; i++) { faceedges[i] = 127; }
}
};