mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
fix warnings
This commit is contained in:
parent
029de72eb3
commit
e1917c8d8a
@ -259,11 +259,11 @@ namespace netgen
|
||||
first_id.Set();
|
||||
|
||||
|
||||
INDEX_2_HASHTABLE<int> & identpts =
|
||||
mesh.GetIdentifications().GetIdentifiedPoints ();
|
||||
|
||||
if (&identpts)
|
||||
if (mesh.GetIdentifications().HasIdentifiedPoints())
|
||||
{
|
||||
INDEX_2_HASHTABLE<int> & identpts =
|
||||
mesh.GetIdentifications().GetIdentifiedPoints ();
|
||||
|
||||
for (i = 1; i <= identpts.GetNBags(); i++)
|
||||
for (j = 1; j <= identpts.GetBagSize(i); j++)
|
||||
{
|
||||
|
@ -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; }
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user